Questions tagged [responsestream]
19 questions
0
votes
0 answers
JIRA Rest API. Retrieve errormessages returned by API when it fails, using c# or vb.net
I'm developing a small app that pulls issues from JIRA from a given list of issue ids, however some of them don't exist and the API call returns a 400 Bad Request message.
This is the relevant block of code I have so far (C#):
HttpWebRequest request…

Victor
- 3
- 3
0
votes
1 answer
Mdf file growing too large inserting binary data
I'm taking jpegs and inserting them into a table as a byte array in a varbinary(MAX) data type field. However, the mdf file is growing three to four times larger in size the the total size of all of the files I'm inserting. I'm using a standard c#…

jdf35w
- 29
- 2
0
votes
2 answers
Why does Resharper give me this Constraint Violation, and how can I appease it?
I get several "Possible 'null' assignment to entity marked with 'NotNull' attribute" fingerwags from R# at code such as:
if ((webResponse.StatusCode == HttpStatusCode.OK) && (webResponse.ContentLength > 0))
{
var reader = new…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
2 answers
ResponseStream re-read after read timeout
I am wondering when I read a response stream and a timeout occurs, can I retry the read? Or do I have to make a new request? The server that I am downloading from does not support resuming, so I need to protect against timeouts.

John Sheares
- 671
- 1
- 12
- 23