[Zope] FedEx Direct Transactions

Jens Vagelpohl jens at zope.com
Wed Jan 21 20:25:01 EST 2004


What does this have to do with Zope??

jens


On Jan 21, 2004, at 20:18, Declan Shanaghy wrote:

> Has anyone ever used fedex ship manager direct, to request rates and
> tracking info, etc...from fedex.
> I recently set up my account to do this but i keep getting 400 - Bad
> Request errors when i submit transactions.  Below is the debug ouput
> from zope.
> I followed their manual to the letter, which includes having that
> strange content-type of image/gif when im only sending text.
>
> Its not a problem with the transaction itself, must be the headers or
> something.
>
> Anyone spot anything wrong with it?
>
>
> send: 'POST /GatewayDC HTTP/1.0 HTTP/1.1\r\n'
> send: 'Host: gatewaybeta.fedex.com:443\r\n'
> send: 'Accept-Encoding: identity\r\n'
> send: 'Referer: D3Software\r\n'
> send: 'Accept: image/gif, image/jpeg, image/pjpeg, text/plain,
> text/html, */*\r\n'
> send: 'Content-Type: image/gif\r\n'
> send: 'Content-Length: 137\r\n'
> send: '\r\n'
> send: '0,"211"1,"Register"4003,"Declan Shanaghy"4008,"4757 Snyder
> Lane"4011,"Rohnert
> Park"4012,"CA"4013,"94928"4014,"US"4015,"4157139916"10,"285168856"99,"" 
> '
> reply: 'HTTP/1.1 400 Bad request\r\n'
> header: Server: Netscape-Enterprise/4.1
> header: Date: Thu, 22 Jan 2004 01:06:56 GMT
> header: Content-length: 147
> header: Content-type: text/html
> header: Connection: close
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2355 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20040121/48159683/smime.bin


More information about the Zope mailing list