U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » HttpRequest, Content-ID header in Part method
Re: HttpRequest, Content-ID header in Part method [message #44586 is a reply to message #44578] Tue, 07 April 2015 11:02 Go to previous message
Zbych is currently offline  Zbych
Messages: 332
Registered: July 2009
Senior Member
mirek wrote on Sat, 04 April 2015 09:42
I would rather add "headers" last parameter as either const String& or const char *, which would simple would be put to postdata before the actual data. That way is more alike to Headers method. Do you agree?

Mirek


I don't think it is a good solution. Beside headers in each attachment, I would like to be able to modify content-type header, which is hard-coded in Part function:

ContentType("multipart/form-data; boundary=" + multipart);


It would be better to have another "low level" Part function (Part0 or PartLL) with content-type and attachment headers configurable.
And of course "old" Part function should use this new "low level" Part.

[Updated on: Tue, 07 April 2015 16:19]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to add statistics feature on SkyLark aplication?
Next Topic: [Bug] Httprequest - consecutive requests contain parts of previous requests
Goto Forum:
  


Current Time: Sun Apr 26 08:47:30 GMT+2 2026

Total time taken to generate the page: 0.00573 seconds