Johnny schrieb:
>
> Theo, I found an error in your redirect implementation for Synapse.
> In file httpsendthread.pas, class TConvenientHTTPSend in method
> HTTPSend this line must be changed from:
>
> Result := inherited HTTPMethod(Method, RedirURL);
>
> to:
>
> Result := inherited HTTPMethod(HTTPMETHOD_GET, RedirURL);
>
> because specification don't allow respond for redirect by POST method
> (only GET).
>
>
>   
Thanks for your hint and for having a close look at the code.

May I ask if this has caused any real problem or is just for the sake of
the specs?

I ask myself how this situation should be handled.
I mean if  I use the POST method and get redirected, shouldn't this
return an error instead of silently turning it into a GET?
I haven't thought about it for ages now, what do you think?

Btw. that's why I wrote this demo: to learn and discuss something and to
improve it.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to