http

How to asynchronously receive data into a Rails app from an iPhone app?

Hello everyone, A large part of a project I'm working on now deals with sending certain messages, which can easily and preferably be XML, from an iPhone app to a Ruby On Rails app. The webapp will have to instantly show these messages, so reloading the page isn't really an option. I've been unable to find any info re: creating this sor...

How to use SWFUPLOAD for iPhone Http server by deusty design

I have an iPhone http server running on my iPhone but this supports just a single file upload and without and progress bar. I read that SWF upload can do this for me but I dont know if it works or not as the iPhone http server doesnot support server side scripting. I want to know if i can use SWF upload in for my cliet side....and how? P...

ASP 4.0 IIS HTTP 404

Hi all, I just installed .NET 4.0 on my Win 2003 Server running IIS. I didn't have any problems using ASP.NET 2.0 built websites, but now if I set the ASP.NET version to 4.0 and I deploy a website built using vs2010, I get HTTP 400 http://localhost/mysite/Default.aspx homepage. I have an.xml file in the same folder and browsing to that...

Calling a Remote Java Servlet

I have a jsp page which holds a form, it is supposed to send off the form data to a remote servlet, which calculates it, and then returns it as XML. It works, but at the moment I'm creating an instance and dispatcher which only works with local servlets whereas I want it to work with a remote servlet. I was previously told that HTTPClie...

Authenticated HTTP POST with XML payload using Python urllib2

I'm trying to send a POST message with a purely XML payload (I think) using urllib2 in IronPython. However, everytime I send it, it returns Error code 400 (Bad Request). I'm actually trying to mimick a Boxee remove queue item call for which the actual data packets looks like this (from WireShark): POST /action/add HTTP/1.1 User-Agent:...

C++ programming for HTTPS

Hi, I am a C++ programmer new to HTTPS. I need to write a COM based windows service in C++ which can handle HTTPS requests. But for that I would need to understand how the technologies and protocol fit together. I understand this is a very open ended question but my intent is to find some documentation that introduces a C++ programmer ...

What sould be a http response code for lack of PHP session based authorization

I am writing a small website. There is PHP session based authorization. What HTTP response code should I send, if a user doesn't have access to a certain page? Is 412 Precondition Failed a good idea? I think 401 Unauthorized is good only for a http authorization. 400 Bad Request and 403 Forbidden looks too general. ...

Flex API for com.adobe.serializers.xml.XMLSerializationFilter?

I'm running into a problem with a poorly formed response that's causing an xml parsing error. I don't have any control over the response, so I've been trying to subclass the XMLSerializationFilter, and catch the error in my own override deserializeResult. But flex is complaining that I'm not matching the method signature. I can't seem...

What PHP/Shell Framwork can be used to access HTTP-POST/-GET Forms (besides curl)?

Hello, (Hallo!) I'm searching an abstraction layer from pure HTTP-POST/-GET using curl. It should somehow make it easy to define the Targeted script and it's variables. I read something exists in the FreeX (german unix/programming magazine), but don't have the named magazine at hand. What can I do? Stick with curl? What alternatives...

Why does IE8 Ignore the first stylesheet?

I have this problem in IE8 that ignores my first stylesheet link. I don't understand why. It doesn't matter which stylesheet it is, if I switch them it's always the first that doesn't show up and the others work so it is not an error in the stylesheet. You can see it here on my site: http://apphacker.com I created an extra empty style...

http C# System.Net.WebClient authorization in rapidshare

Hi, I am trying to download a file from rapidshare using System.Net.WebClient in C#. I wanted to implement authorization using the http header field "Authorization: Basic ". I do it with the following code: WebClient.Headers.Add(HttpRequestHeader.Authorization, "Basic " + Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetByte...

How can I let me users download a file from my jDeveloper 10g website?

I want to easily allow my users to fetch a PDF file located on my hard disk. How could I "push" the file to them so the download/open file prompt opens for them? ...

setting a custom http header dynamically with spring ws client

how do you set a custom http header (not soap header) dynamically on the client side when using spring-ws? ...

Why is the bitmapdata not posted to server side with flash?

Here is the code I used to post the bitmapdata to server side(PHP): private function savePicToServer(bmpData:BitmapData):void { trace("in savePicToServer"); trace(bmpData); var jpgEncoder:JPGEncoder = new JPGEncoder(85); var jpgStream:ByteArray = jpgEncoder.encode(bmpData); var loader:URLLoader = new URLLoader(); ...

Why do I receive different HTTP response codes when accessing Facebook XML feeds from different servers?

Hi all I'm using the Zend Framework, specifically the Zend_Feed class, to grab the Facebook XML feed at http://www.facebook.com/feeds/page.php?format=rss20&id=120635284755 and merge it with a similar Twitter feed for display on a website. The problem is that while I can grab the feed absolutely fine from both my local and remote te...

Possible to download a file through the Zend HTTP Client?

I am trying to build a script where it downloads a file using the Zend http client: http://framework.zend.com/manual/en/zend.http.html but I can't find anywhere where it says how to do this so I'm wondering if its possible... The file is dependent on being logged in so I need to have it done through the zend http client so it can make us...

http c++ library?

Hi i am wondreing if there is some kind of c++ library that deals with http, http chunking etc. Google did not find anything :D ...

CURL is not following 301 Redirects, what do I need to do?

I am using the CURL c++ api to get quotes from Yahoo's financial API. The curl api and my code seem to be working fine, however I am getting a "301" redirect message when I tell CURL to visit the url I want. How can I get CURL to follow through to the 301 redirect and get the data I want? Here is the URL I am using: http://download.f...

How to pass query parameters to the EntityQuery interface

The following link passes query parameters as f:param and they get substituted in Users.page.xml, and these parameters appear as query parameters in the browse URL which we would like to not show to the end user. Is there an alternate mechanism to pass parameters to the entity query bean <rich:menuItem> <s:link value="Users" view="/...

Class 'HttpResponse' not found

According to PHP documentation, HttpResponse is a static class to manipulate the Http response to the requester. The code echo HttpResponse::getBufferSize(); throws the error in the Subject of this post. Any ideas? Maybe it's some config, but I am a PHP newbie and I'm not sure where to look. Thanks! ...