Re: [Cppcms-users] HTTP PUT
Brought to you by:
artyom-beilis
From: Leon <le...@wl...> - 2012-05-22 05:05:45
|
Thanks. It's now clear. On Tue, May 22, 2012 at 12:23 PM, Artyom Beilis <art...@ya...> wrote: > >Thank you for your reply. > > > > > >I > have a question. If a huge file is being uploaded using HTTP PUT, will > the whole be in memory or will it be saved to disk? > > > > > You do not upload huge files via PUT, you should do it using POST > and multipart/form-data content type. > > > This case is specially handled and uploaded files are saved on disk. > All other types of content are stored in memory and their size is > limited by following settings: > > http://cppcms.com/wikipp/en/page/cppcms_1x_config#security > > Bottom line, use POST for files. > > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > > > > > >Best regards, > > > > > > > >On Mon, May 21, 2012 at 8:43 PM, Artyom Beilis <art...@ya...> > wrote: > > > >The same way you handle POST, the data can be accessed using > request().raw_post_data() > >> > >> > >>Artyom Beilis > >>-------------- > >>CppCMS - C++ Web Framework: http://cppcms.com/ > >>CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > >> > >> > >> > >>>________________________________ > >>> From: Leon <le...@wl...> > >>>To: cpp...@li... > >>>Sent: Friday, May 18, 2012 11:51 AM > >>>Subject: [Cppcms-users] HTTP PUT > >>> > >>> > >>> > >>>Hi, > >>> > >>> > >>>Is there any document on handling HTTP PUT? > >>> > >>> > >>>Thanks! > >>> > >>> > > >>>------------------------------------------------------------------------------ > >>>Live Security Virtual Conference > >>>Exclusive live event will cover all the ways today's security and > >>>threat landscape has changed and how IT managers can respond. > Discussions > >>>will include endpoint security, mobile security and the latest in > malware > >>>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>_______________________________________________ > >>>Cppcms-users mailing list > >>>Cpp...@li... > >>>https://lists.sourceforge.net/lists/listinfo/cppcms-users > >>> > >>> > >>> > > >>------------------------------------------------------------------------------ > >>Live Security Virtual Conference > >>Exclusive live event will cover all the ways today's security and > >>threat landscape has changed and how IT managers can respond. Discussions > >>will include endpoint security, mobile security and the latest in malware > >>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>_______________________________________________ > >>Cppcms-users mailing list > >>Cpp...@li... > >>https://lists.sourceforge.net/lists/listinfo/cppcms-users > >> > >> > > > > >------------------------------------------------------------------------------ > >Live Security Virtual Conference > >Exclusive live event will cover all the ways today's security and > >threat landscape has changed and how IT managers can respond. Discussions > >will include endpoint security, mobile security and the latest in malware > >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >_______________________________________________ > >Cppcms-users mailing list > >Cpp...@li... > >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |