in reply to Re^2: How to change Accept-Language header with soap::lite
in thread How to change Accept-Language header with soap::lite

Sorry this was in responce to your first reply. How would I use LWP:UserAgent in my code listed below.
#!/usr/local/bin/perl -w use SOAP::Lite 'trace', 'debug', on_action => sub {sprintf '%s/%s', @_ +}; use SOAP::Transport::HTTP; my $client = SOAP::Lite ->readable(1) ->uri('https://www.venturetest.com') ->proxy('https://www.venturetest.com/getpdfservice/testgetpdf.asmx +') ; $client->TestGetPDF();

Replies are listed 'Best First'.
Re^4: How to change Accept-Language header with soap::lite
by burgerc (Novice) on Dec 19, 2013 at 19:39 UTC
    I have tried something like this
    $client->transport->default_header('Accept-Encoding' => '');
    but doesn't seem to do anything.

    the error from .net is

    HTTP Error 406 - Client browser does not accept the MIME type of the requested page.
    Internet Information Services (IIS)

      lol
        Not sure what lol is all about but get the impression you are making fun of me. I need help, if this is not the place for that then please let me know so I don't make a fool of my self.