28 lines
443 B
C++
28 lines
443 B
C++
#ifndef __CGIFormData_h__
|
|
# define __IMFFormData_h__
|
|
|
|
#include "MString.h"
|
|
#include "ZString.h"
|
|
#include "CGIFormattedData.h"
|
|
|
|
namespace coreutils {
|
|
|
|
class CGIFormData : public MString {
|
|
|
|
public:
|
|
CGIFormData(int fd, ZString contentType, int contentLength, ZString boundary);
|
|
|
|
MString operator[](ZString name);
|
|
|
|
private:
|
|
CGIFormattedData *formdata;
|
|
MString contentType;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|