Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting 403 status from commons.HttpClient  RSS feed

 
Sanjoo Singh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All, I have following code snippet which get 403 status code, however we verified with Wireshark tool that system is receiving 200 status from server.



I would appreciate a quick help in this regard.
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you might want to invoke this service with a different client and see. I cannot say much about wire logs you are referring but did you verify at the server or at the client?

You might want to look at the security settings at the server for whether you are sending proper parameters and so on...
 
Sanjoo Singh
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As described in my initial post that system receives the server data correctly but in my code "statusCode" returns 403.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!