fork download
  1. #!/usr/bin/perl
  2.  
  3. use strict;
  4. use warnings;
  5.  
  6. my $response = do { local $/ = undef; <DATA>; };
  7.  
  8. $response =~ s/\A(?:^HTTP.*?(?:^.+$)*^$)+//sm;
  9. print $response;
  10.  
  11. __DATA__
  12. HTTP/1.1 100 Continue
  13.  
  14. HTTP/1.1 200 OK
  15. Content-Type: text/xml; charset=utf-8
  16. Server: Microsoft-IIS/10.0
  17. X-Powered-By: ASP.NET
  18. Date: Fri, 05 May 2017 09:52:02 GMT
  19. Content-Length: 338962
  20.  
  21. <s:Envelope xmlns:s="http://s...content-available-to-author-only...p.org/soap/envelope/">
  22. <s:Body><RetrieveStoredRoutesResponse xmlns="http://s...content-available-to-author-only...e.com">
  23.  
Success #stdin #stdout 0s 17760KB
stdin
Standard input is empty
stdout
<s:Envelope xmlns:s="http://s...content-available-to-author-only...p.org/soap/envelope/">
    <s:Body><RetrieveStoredRoutesResponse xmlns="http://s...content-available-to-author-only...e.com">