Disclaimer: I know nothing about HTTP::Proxy
Claimer: I know way too much about Basic Authentication (1)
I'm assuming url credentials like
http://username:password@some.host/ aren't relevant.
LWP's GET -eSUd is a good debugging aid here.
It'll show you the basic headers to compare to your own.
Another idea: put up your own server and watch the requests
(or proxy your proxy to see what it's trying to do)
---
(1) I tried to write a module that would fallback to
using the basic credentials as a pseudo-cookie if
a client had cookies switched off.
Many 401's and 30x's later I discovered that
it wasn't practically possible if you want to support
Mozilla and changing user(IE works though).
"wasn't practically possible" is a big call, let's
say I couldn't do it.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.