On Fri, Sep 18, 2009 at 6:02 PM, jc <[email protected]> wrote:
> That was my point to begin with. You cannot do a POST with URL parameters
> without a GET.
>
huu?
# telnet moo.cows 80
-> POST /cows.php?password=udder HTTP/1.0
-> Host: cows.com
-> Content-Type: aplpication/pkix
-> Content-Length: xxx
->...
->
-> [some data]
# cat cows.php
<?php
assert($_SERVER['REQUEST_METHOD'] == 'POST');
assert($_GET['password'] == 'udder');
assert(file_get_contents('php://input') == '[some data]');
~ Theo
_______________________________________________
P2PSIP mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/p2psip