Re: [Simpleweb-Support] HTTP Post using Simpleframework 5.1.6
Brought to you by:
niallg
From: Jorge V. <jmv...@cr...> - 2013-11-07 10:49:15
|
Hello Niall, thanks for answering, o notice that the entity part is gone too. how is that treated now? I assume that when you say that the only difference between Form and Query is the Part data, it means that the request now is formed in a different way, so if i want to create a httpclient request, where does this parts fit? Because i think i'm doing it wrong. Thanks in advance, Jorge Vicente ________________________________ From: Niall Gallagher [gal...@ya...] Sent: 07 November 2013 06:15 To: Simple support and user issues Subject: Re: [Simpleweb-Support] HTTP Post using Simpleframework 5.1.6 Hi Jorge, I can confirm the only change between Form and Query is the absence of the Part data that is send with a multipart form encoded POST. Other than that it is exactly the same. I got rid of Form because I thought it was one of those things that was a little too convenient and may interfere with your interpretation of the request. I can also confirm that 5.1.6 should be far more stable than any previous release of Simple and is being used in a very high througput site as we speak, with well over a million transactions per hour. Niall On Wednesday, 6 November 2013 10:48 PM, Jorge Vicente <jmv...@it...> wrote: Hello, I recently update the simpleframework library from the version 4.1.21 to the new 5.1.6 and things started to fall in pieces. The main problem is the absence of the Form data. I updated all my methods to get the form data from the query and pass it as parameters. But i think i'm doing something wrong, because it keeps failing in some spots. I think one of the problems as to do with the fact that now the post parameters are going in the httpclient parameters, and not in the entity as post parameters. Can someone point me in a tutorial on how to do this, something that explains the conversion from the 4.1.21 post method to the 5.1.6 new system. One of the problems that prevents me from doing something like this ( http://stackoverflow.com/a/8129350 ) as to do with the fact that the simpleframework already as an entity that i need to maintaine, and when converting to the HttpPost i don't know how to add the simpleframewokr entity and the entity sugested in the stackoverflow comentary. Can someone give me some directions??? Thanks in advance. Jorge Vicente ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Simpleweb-Support mailing list Sim...@li...<mailto:Sim...@li...> https://lists.sourceforge.net/lists/listinfo/simpleweb-support |