c# - HttpClient aborting simple get request -


i doing simple request httpclient. have issues aborting before request complete. fiddler shows request should return 200, shows request aborted. diffenitally not hitting default 100s timeout. there hidden setting missing?

var new_client = new httpclient(); var req = await new_client.getasync("http://a20.skout.com/support/captchamobile/?sid=e91af660-0b3d-4c2f-bbdd-249506b9c440"); req.ensuresuccessstatuscode(); 

image of fiddler request. shows sucess 200 status code aborted.

image of fiddler request. showing sucessful 200 status code aborted client.

update1: use sid try "36598189-0f2f-45b9-a794-385a5d5e11c8"

update2: having problem url "http://api.recaptcha.net/challenge?k=6lc2qn8saaaaaee8_r2alf4hu1v_x34nuv1mzw-w"

update3: manage response new_client.getasync("http://a20.skout.com/support/captchamobile/?sid=e91af660-0b3d-4c2f-bbdd-249506b9c440").result. unsure why works not await. guess has done syncronously. leave question incase has more vaild answer.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -