Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.48 KB | None | 0 0
  1. The url used is :  https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone
  2.  
  3. URL INFO :
  4.  
  5. https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone:
  6.  Content Type: text/html
  7.  Content Length: 1378
  8.  Last Modified: Fri Jul 08 19:26:59 EDT 2016
  9.  Expiration: 0
  10.  Content Encoding: null
  11.  
  12. URL without agent :
  13.  
  14. Contents of the following URL: https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone
  15.  
  16. Exception in thread "main" java.io.IOException: Server returned HTTP response code: 503 for URL: https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Rowling/dp/059035342X/ref=sr_1_1?ie=UTF8&qid=1474762978&sr=8-1&keywords=harry+potter+and+the+sorcerer%27s+stone
  17.     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
  18.     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  19.     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
  20.     at java.net.URL.openStream(Unknown Source)
  21.     at WebpageReaderWithoutAgent.read(WebpageReaderWithoutAgent.java:11)
  22.     at WebpageReaderWithoutAgent.main(WebpageReaderWithoutAgent.java:24)
  23.  
  24. URL with agent :
  25. Printed out 8k+ lines
  26. The contents of the outputs are attached.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement