Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

PostFormat<> calls without a decoder #48

Open
frs3 opened this issue Apr 26, 2013 · 1 comment · May be fixed by #88
Open

PostFormat<> calls without a decoder #48

frs3 opened this issue Apr 26, 2013 · 1 comment · May be fixed by #88

Comments

@frs3
Copy link

frs3 commented Apr 26, 2013

There are several PostFormat<> class that have an empty decoder, which causes an exception. e.g.

_caller.PostFormat(rawXml, HttpContentTypes.TextPlain, string.Empty, "/app/rest/buildTypes/{0}/steps", locator);

Fix:

_caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, "/app/rest/buildTypes/{0}/steps", locator);

dan-turner pushed a commit to SingularityIT/TeamCitySharp that referenced this issue Sep 15, 2014
@dan-turner
Copy link

Friendly tip for next time @frs3, if you'd implemented the fix yourself 5 months ago it would have been fixed for me just now :). I also wouldn't have had to go digging through github issues for existing bug report when I found it too.

dan-turner pushed a commit to SingularityIT/TeamCitySharp that referenced this issue Sep 15, 2014
dan-turner pushed a commit to SingularityIT/TeamCitySharp that referenced this issue Sep 15, 2014
dan-turner pushed a commit to SingularityIT/TeamCitySharp that referenced this issue Sep 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants