Advertisement
Guest User

Untitled

a guest
Sep 24th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. http://apineginpay.in/page/test
  2.  
  3. TooManyRedirects at /api/sender
  4. Exceeded 30 redirects.
  5. Request Method: GET
  6. Request URL: http://localhost:8000/api/sender
  7. Django Version: 1.9.6
  8. Exception Type: TooManyRedirects
  9. Exception Value:
  10.  
  11. Exceeded 30 redirects.
  12.  
  13. request_data = urllib.parse.urlencode({"DATA": 'aaa'}).encode()
  14. response = urllib.request.urlopen("http://apineginpay.in/page/test" , data=request_data)
  15.  
  16.  
  17.  
  18. HTTPError at /api/sender
  19. HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
  20. The last 30x error message was:
  21. Found
  22. Request Method: GET
  23. Request URL: http://localhost:8000/api/sender
  24. Django Version: 1.9.6
  25. Exception Type: HTTPError
  26. Exception Value:
  27. HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
  28. The last 30x error message was:
  29. Found
  30. Exception Location: c:Python344liburllibrequest.py in http_error_302, line 675
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement