FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HttpPost and params

 
Post new topic   Reply to topic     Forum Index -> Mango
View previous topic :: View next topic  
Author Message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Sat May 27, 2006 11:55 am    Post subject: HttpPost and params Reply with quote

HttpPost is not sending any params passed to it (ie, I want to send "POST /worklist/storename?session=1234&action=getWorkItem HTTP/1.0", but only "POST /worklist HTTP/1.0" is sent). I suppose there's a good logic for it, but I'd like to know of some option that doesn't include changing the server.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Sat May 27, 2006 12:29 pm    Post subject: Reply with quote

HTTP POST does not operate in the same manner as a GET, because the former are not supposed to be arbitrarily repeated (think casting a vote, versus checking your mailbox). Arguments for post are passed as part of the request body instead (IIRC), and part of the reason for this is so that one cannot easily bookmark a POST.

You can read up on POST at wc3.org, and I got some solid guidance on POST redirection handling from here: http://ppewww.ph.gla.ac.uk/~flavell/www/post-redirect.html

That link on redirection provides some insight on the mess that HTTP has become Wink
Back to top
View user's profile Send private message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Sat May 27, 2006 5:06 pm    Post subject: Reply with quote

I was thinking it was something along those lines, but I was still hoping there would be a solution. Looks like I'll have to resort to another solution anyway.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Mango All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group