Advertisement
Guest User

Untitled

a guest
Apr 27th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #!/usr/bin/perl
  2. use LWP::UserAgent;
  3. my $ua = new LWP::UserAgent;
  4. my $url = "http://example.com/";
  5. my $req = $ua->get("$url");
  6.  
  7. HTTP/1.1 200 OK
  8. Access-Control-Allow-Headers: accept, origin, content-type, content-length
  9. Access-Control-Allow-Methods: GET,PUT,POST,DELETE,OPTIONS
  10. Access-Control-Allow-Origin: *
  11. Content-Encoding: gzip
  12. Content-Type: application/javascript
  13. Date: Thu, 28 Apr 2016 01:43:01 GMT
  14. Etag: "779429019"
  15. Cookie: username=usrname; pass=P@S$W0RD;
  16. X-Powered-By: adzerk bifrost/
  17. x-served-by: engine-i-536776c8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement