http-post-request including Content-Type and Charset

http-post-request including Content-Type and Charset

Wednesday 11 October 2006 7:11:01 am - 1 reply

Author Message

Marius Eliassen

Friday 13 October 2006 6:27:58 am

Does not look like it according to the code from the ezhttptool.php class file

        $request = $method . ' ' . $path . ' ' . 'HTTP/1.1' . "\r\n" .
             "Host: $host\r\n" .
             "Accept: */*\r\n" .
             "Content-type: application/x-www-form-urlencoded\r\n" .
             "Content-length: " . strlen( $data ) . "\r\n" .
             "User-Agent: $userAgent\r\n" .
             "Pragma: no-cache\r\n" .
             "Connection: close\r\n\r\n";

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.