<rss version="2.0">
<channel>
<title>YouTrack - Comments of: </title>
<link>http://youtrack.codebetter.com/_rss/comments?p=EHTTP</link>
<description></description>
<item>
<title>Hadi Hariri (Admin) (root) commented EHTTP-41: It would be great to have, a full stream in the output, handling stream and passing it on is good with memory.</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-41#comment=48-230</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (Admin) (root)</strong>
<br/>
8 months ago (15 Oct 2012 03:53)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-41#comment=48-230">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">[Subject(typeof(HttpClient))]<br/>    public class when_making_a_GET_with_stream_response_true<br/>    {<br/>        Establish context = () =&gt;<br/>        {<br/>            httpClient = new HttpClient();<br/>        };<br/><br/>        Because of = () =&gt;<br/>        {<br/>            httpClient.StreamResponse = true;<br/><br/>            httpClient.Get(&quot;<a href="http://localhost:16000/hello">http://localhost:16000/hello</a>&quot;);<br/>           <br/>        };<br/><br/>        It should_allow_access_to_response_stream = () =&gt;<br/>        {<br/>             using (var stream = httpClient.Response.ResponseStream)<br/>             {<br/>                int count;<br/>                int total = 0;<br/>                var buffer = new byte[8192];<br/><br/>                while ((count = stream.Read(buffer, 0, buffer.Length)) &gt; 0)<br/>                {<br/>                    total += count;<br/>                }<br/>                total.ShouldBeGreaterThan(0);<br/>             }<br/><br/>        };<br/><br/>        It raw_text_should_be_empty = () =&gt;<br/>        {<br/>            httpClient.Response.RawText.ShouldBeNull();<br/>        };<br/>        static HttpClient httpClient;<br/>    }</div>
</div>
</div>

]]></description>
<pubDate>Mon, 15 Oct 2012 08:53:37 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (Admin) (root) commented EHTTP-41: It would be great to have, a full stream in the output, handling stream and passing it on is good with memory.</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-41#comment=48-229</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (Admin) (root)</strong>
<br/>
8 months ago (15 Oct 2012 03:05)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-41#comment=48-229">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">The way you sent the patch I&#39;m not sure would be appropriate. I think this feature is needed but currently it requires a few changes in the way to handle this...</div>
</div>
</div>

]]></description>
<pubDate>Mon, 15 Oct 2012 08:05:03 UT</pubDate>
</item>
<item>
<title>Chris Marisic (Chris.Marisic) commented EHTTP-39: JsonFx.Serialization.DeserializationException /Date(1289062214137)/ is not a valid value for DateTime</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-39#comment=48-103</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Chris Marisic (Chris.Marisic)</strong>
<br/>
12 months ago (13 Jun 2012 10:09)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-39#comment=48-103">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Failing test attached: <a href="https://github.com/hhariri/EasyHttp/pull/6">https://github.com/hhariri/EasyHttp/pull/6</a></div>
</div>
</div>

]]></description>
<pubDate>Wed, 13 Jun 2012 15:09:30 UT</pubDate>
</item>
<item>
<title>Vimal (vimalbagmar) commented EHTTP-37: Introduce IOHandler</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-37#comment=48-98</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Vimal (vimalbagmar)</strong>
<br/>
15 months ago (18 Mar 2012 23:15)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-37#comment=48-98">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Vimal</div>
</div>
</div>

]]></description>
<pubDate>Mon, 19 Mar 2012 04:15:42 UT</pubDate>
</item>
<item>
<title>Jonas Van der Aa (Jonas.Van.der.Aa) commented EHTTP-36: SerializationException when attempting Post</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-36#comment=48-95</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Jonas Van der Aa (Jonas.Van.der.Aa)</strong>
<br/>
18 months ago (30 Nov 2011 07:15)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-36#comment=48-95">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">epic fail, I should have used ApplicationXWwwFormUrlEncoded content type :) I&#39;m back at the BAD REQUEST&#39;s now, but those are my fault also. Sorry for the inconvenience.</div>
</div>
</div>

]]></description>
<pubDate>Wed, 30 Nov 2011 13:15:11 UT</pubDate>
</item>
<item>
<title>Jonas Van der Aa (Jonas.Van.der.Aa) commented EHTTP-35: Support for simple Post</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-35#comment=48-94</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Jonas Van der Aa (Jonas.Van.der.Aa)</strong>
<br/>
18 months ago (30 Nov 2011 02:21)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-35#comment=48-94">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">No, right now I need to supply an object and a string that sets the content type.</div>
</div>
</div>

]]></description>
<pubDate>Wed, 30 Nov 2011 08:21:50 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (Admin) (root) commented EHTTP-35: Support for simple Post</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-35#comment=48-93</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (Admin) (root)</strong>
<br/>
18 months ago (29 Nov 2011 02:54)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-35#comment=48-93">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">How is the body encoded? Does it no work when using POST now? </div>
</div>
</div>

]]></description>
<pubDate>Tue, 29 Nov 2011 08:54:37 UT</pubDate>
</item>
<item>
<title>Laurent Kempé (Laurent.Kempé) commented EHTTP-32: Support for IEnumerable&lt;T&gt; in StaticBody</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-32#comment=48-90</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Laurent Kempé (Laurent.Kempé)</strong>
<br/>
19 months ago (27 Oct 2011 04:30)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-32#comment=48-90">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">I had time to look more in details and I had a wrong assumption that  response.StaticBody&lt;IEnumerable&lt;Build&gt;&gt;() should work, it can&#39;t work in my case because the JSON returned is not an array, the array is a property on the response.</div>
</div>
</div>

]]></description>
<pubDate>Thu, 27 Oct 2011 09:30:06 UT</pubDate>
</item>
<item>
<title>Laurent Kempé (Laurent.Kempé) commented EHTTP-32: Support for IEnumerable&lt;T&gt; in StaticBody</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-32#comment=48-89</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Laurent Kempé (Laurent.Kempé)</strong>
<br/>
19 months ago (26 Oct 2011 14:51)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-32#comment=48-89">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">This is what I need to do to access build on teamcity<br/><br/><br/>    class Program<br/>    {<br/>        static void Main(string[] args)<br/>        {<br/>            var http = new HttpClient{Request = {Accept = HttpContentTypes.ApplicationJson}};<br/>            http.Request.SetBasicAuthentication(&quot;laurent&quot;, &quot;&quot;);<br/>            var response = http.Get(<br/>                string.Format(&quot;<a href="http://yourteamcity/httpAuth/app/rest/buildTypes/id:{0}/builds?count={1}">http://yourteamcity/httpAuth/app/rest/buildTypes/id:{0}/builds?count={1}</a>&quot;, &quot;bt5&quot;, 5));<br/><br/>            WriteLineUsingStatic(response);<br/>        }<br/><br/>        private static void WriteLineUsingStatic(HttpResponse response)<br/>        {<br/>            var r = response.StaticBody&lt;Response&gt;();<br/><br/>            foreach (var build in r.Build)<br/>            {<br/>                Console.WriteLine(build.Status);<br/>            }<br/>        }<br/><br/>        public class Response<br/>        {<br/>            public ICollection&lt;Build&gt; Build { get; set; }<br/>        }<br/><br/>        public class Build<br/>        {<br/>            public string Id { get; set; }<br/>            public string Number { get; set; }<br/>            public string Status { get; set; }<br/>        }<br/>    }<br/><br/>What would be better is<br/><br/>        private static void WriteLineUsingStatic(HttpResponse response)<br/>        {<br/>            var builds = response.StaticBody&lt;IEnumerable&lt;Build&gt;&gt;();<br/><br/>            foreach (var build in builds)<br/>            {<br/>                Console.WriteLine(build.Status);<br/>            }<br/>        }</div>
</div>
</div>

]]></description>
<pubDate>Wed, 26 Oct 2011 19:51:59 UT</pubDate>
</item>
<item>
<title>Mikael Syska (Mikael.Syska) commented EHTTP-31: Overload for StaticBody</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-31#comment=48-74</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Mikael Syska (Mikael.Syska)</strong>
<br/>
19 months ago (19 Oct 2011 13:55)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-31#comment=48-74">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Saw you were active on twitter so I guessed there were some mail problems :-)<br/><br/>Love that you post as the user &quot;root&quot;</div>
</div>
</div>

]]></description>
<pubDate>Wed, 19 Oct 2011 18:55:47 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (Admin) (root) commented EHTTP-31: Overload for StaticBody</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-31#comment=48-67</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (Admin) (root)</strong>
<br/>
19 months ago (19 Oct 2011 13:36)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-31#comment=48-67">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Ah the wonders of non-compliancy :(. Let me think about how we can solve this....</div>
</div>
</div>

]]></description>
<pubDate>Wed, 19 Oct 2011 18:36:32 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (hhariri) commented EHTTP-24: Problem when deserializing XML as DynamicBody</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-24#comment=48-61</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (hhariri)</strong>
<br/>
21 months ago (06 Sep 2011 04:22)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-24#comment=48-61">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Hadi the current implementation takes advantage of JsonFX decoder localization. Let&#39;s chat on IM</div>
</div>
</div>

]]></description>
<pubDate>Tue, 06 Sep 2011 09:22:38 UT</pubDate>
</item>
<item>
<title>Hadi Eskandari (HEskandari) commented EHTTP-24: Problem when deserializing XML as DynamicBody</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-24#comment=48-40</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Eskandari (HEskandari)</strong>
<br/>
23 months ago (06 Jul 2011 08:18)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-24#comment=48-40">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Seems this is related to how IDecoder is used. I think IDecoder implementations should be created in the HttpResponse based on the ContentType being Xml or Json. In current implementation there&#39;s no way to use both and it is only possible to switch completely to Xml decoders (given there is an implementation of IDecoder) by swapping the whole configuration.</div>
</div>
</div>

]]></description>
<pubDate>Wed, 06 Jul 2011 13:18:32 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (Admin) (root) commented EHTTP-17: Pass Registry as part of ConfigurationStep </title>
<link>http://youtrack.codebetter.com/issue/EHTTP-17#comment=48-26</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (Admin) (root)</strong>
<br/>
2 years ago (19 Dec 2010 15:31)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-17#comment=48-26">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Made some changes...not yet final. </div>
</div>
</div>

]]></description>
<pubDate>Sun, 19 Dec 2010 21:31:49 UT</pubDate>
</item>
<item>
<title>Alejandro (amezcua) commented EHTTP-8: Serialization Attribute</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-8#comment=48-20</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Alejandro (amezcua)</strong>
<br/>
2 years ago (06 Nov 2010 04:09)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-8#comment=48-20">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Maybe it would be better to have an ignore serialization attribute? eg. [DoNotSerializeFor(POST)]</div>
</div>
</div>

]]></description>
<pubDate>Sat, 06 Nov 2010 09:09:14 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (hhariri) commented EHTTP-4: Issues reported with latest mspec runner</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-4#comment=48-19</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (hhariri)</strong>
<br/>
2 years ago (05 Nov 2010 14:27)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-4#comment=48-19">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Issue with MSpec. </div>
</div>
</div>

]]></description>
<pubDate>Fri, 05 Nov 2010 19:27:43 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (hhariri) commented EHTTP-3: Make NuGet Package available</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-3#comment=48-18</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (hhariri)</strong>
<br/>
2 years ago (05 Nov 2010 13:56)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-3#comment=48-18">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Needs JsonFX package first.</div>
</div>
</div>

]]></description>
<pubDate>Fri, 05 Nov 2010 18:56:52 UT</pubDate>
</item>
<item>
<title>Hadi Hariri (hhariri) commented EHTTP-6: Should be able to easily change the CouchDB IP address in tests.</title>
<link>http://youtrack.codebetter.com/issue/EHTTP-6#comment=48-17</link>
<description><![CDATA[
<div class="comment">
<div class="comment-head">
<strong>Hadi Hariri (hhariri)</strong>
<br/>
2 years ago (05 Nov 2010 12:49)
<br/>
<a href="http://youtrack.codebetter.com/issue/EHTTP-6#comment=48-17">reply</a>
</div>
<div class="comment-body">
<div class="wiki text">Yep. Was on my list. Will do. </div>
</div>
</div>

]]></description>
<pubDate>Fri, 05 Nov 2010 17:49:08 UT</pubDate>
</item>
</channel>
</rss>
