It won't get called unless the web server returns an HTTP status 401. This in unlikely if you are passing valid credentials appropriate to the web site/page in the headers/payload of the request. You seem to be doing that above.
It won't get called unless the web server returns an HTTP status 401. This in unlikely if you are passing valid credentials appropriate to the web site/page in the headers/payload of the request. You seem to be doing that above.
Hi High_flyer,
What are you replying man. I dont know thats why i am posting a question.
If you know then reply with some valid answer or else don't...
Obviously i am debugging it, but i am not getting the solution.
Don't you get it that I am not your foe but your friend?
When you post a question, and you want help, you should help others help you.
Show and mention what you have done to pint point the problem.
Not obvious from what you have posted.Obviously i am debugging it
It would have been obvious if you had said which part of the code does work as you expect, which doesn't, and what have you done so far for debugging.
This way potential helpers can know in advance what you have tried, and not suggest it again, and think in lines that are better suited to solving your problem.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks