Works like a charm, man. Thanks a bunch. :)
On Mon, Feb 2, 2015 at 3:17 PM, Brandon Perry
wrote:
> Trying now.
>
> On Mon, Feb 2, 2015 at 3:07 PM, Miroslav Stampar <
> miroslav.stam...@gmail.com> wrote:
>
>> Fixed. Please update to the latest revision to have it patched.
>>
>> Bye
>>
>> On Mon,
Trying now.
On Mon, Feb 2, 2015 at 3:07 PM, Miroslav Stampar wrote:
> Fixed. Please update to the latest revision to have it patched.
>
> Bye
>
> On Mon, Feb 2, 2015 at 9:45 PM, Brandon Perry
> wrote:
>
>> I think it has to do with Accept specifically.
>>
>> Passing --headers="X-Forwarded-For:1
Fixed. Please update to the latest revision to have it patched.
Bye
On Mon, Feb 2, 2015 at 9:45 PM, Brandon Perry
wrote:
> I think it has to do with Accept specifically.
>
> Passing --headers="X-Forwarded-For:192.168.1.31\nAccept:application/json"
> results in the X-Forwarded-For header being p
I think it has to do with Accept specifically.
Passing --headers="X-Forwarded-For:192.168.1.31\nAccept:application/json"
results in the X-Forwarded-For header being present, but Accept is still
text/html.
I am using --data as well, so it is a POST.
This is an application I am working on privatel
Ah! Let me try.
On Mon, Feb 2, 2015 at 2:29 PM, Miroslav Stampar wrote:
> --headers='Accept: application/json' is wrongly handled by Python :)
>
> For some strange reason, it messes the sys.argv when there is a whitespace
> inside a single-quote formation:
>
> python -c "import sys; print sys.ar
--headers='Accept: application/json' is wrongly handled by Python :)
For some strange reason, it messes the sys.argv when there is a whitespace
inside a single-quote formation:
python -c "import sys; print sys.argv" --dummy="foo: bar"
['-c', '--dummy=foo: bar']
python -c "import sys; print sys.a
I'll take a look in couple of hours and let you know.
Bye
On Feb 1, 2015 4:27 PM, "Brandon Perry" wrote:
> Hello!
>
> I am attempting to override the Accept header with Accept:
> application/json (currently is text/html).
>
> When I use -r, I don't have a problem, but wanting to specify a single
Hello!
I am attempting to override the Accept header with Accept: application/json
(currently is text/html).
When I use -r, I don't have a problem, but wanting to specify a single
command instead of command + request to reproduce. Using --headers='Accept:
application/json' doesn't override the de