Bug 51687 - WebApi Request work but Response return nothing
Summary: WebApi Request work but Response return nothing
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Net.Http (show other bugs)
Version: master
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-01-21 17:29 UTC by Lorenzo Delana
Modified: 2017-01-22 23:48 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
repro working copy (34.19 KB, application/x-zip-compressed)
2017-01-21 17:29 UTC, Lorenzo Delana
Details

Description Lorenzo Delana 2017-01-21 17:29:55 UTC
Created attachment 19433 [details]
repro working copy

attached a simple webapi selfhost solution, after run you can browse

http://localhost:5000/api/auth/now

and a response with current time.

but simply adding System.Net.Http reference cause the webapi work only for request while respond not work any more.

in the attachment working copy you can find two commits, the first with the working and the second with the non working.

A working_to_not_working.diff file is provided to show which changes done.

Note You need to log in before you can comment on or make changes to this bug.