Has anyone had any luck getting encrypted streaming to work with Apple's HTTP Live Streaming using openssl? It seems I'm almost there but my video doesn't play but I don't get any errors in Safari either (like "Video is unplayable" or "You don't have permission to play this video" when I got the key wrong).
#bash script:
keyFile="key.t...
Hello,
I am trying to grab a value from a url:
http://localhost:8080/bin/task_status?id=2&cmd=percent_done
I am unsure how to actually do this within a javascript (ajax) command that once the page has been loaded will be called every .5 seconds. It is using the AJAX built in progress bar to display.
...
I am creating a website with multiple sections--admin, client, user, and anonymous--each user group having less access then the next. I am wondering what form of authentication would be best for my use?
I have heard the if you are just dealing with a websites then a web form is for you (because it's prettier). HTTP header authentication...
I've got a site built on top of Kohana 2.3 which I now have to make all links https.
I set this in application/config/config.php.
$config['site_protocol'] = 'https';
This makes all links on the site use the https protocol.
Except, when I first enter the site via http, it will not automatically forward to https.
Is there a way to ma...
We have a site which is accessed entirely over HTTPS, but sometimes display external content which is HTTP (images from RSS feeds, mainly). The vast majority of our users are also stuck on IE6.
I would ideally like to do both of the following
Prevent the IE warning message about insecure content (so that I can show a less intrusive o...
I'm just wondering if there is a way to have a server push information to a JavaScript function. Essentially I have a Dashboard-type page that has a javaScript function to get updates from the server and update the dashboard.
I would like my server to be able to "ping" the JS.
I don't even know how that could be possible (I'm guessing ...
I am using the image tag as
<image src="/data/image/image.txt" />
the path /data/image/image.txt does exists.
and it displays the image also.
but when i introduce some i18n characters in the path lets say
<image src="/data/image组织/image.txt" />
it says 404 error image not found, but the path /data/image组织/image.txt does exists,
...
I'v got the following piece of code:
try {
HttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost("http://www.flashstall.com/json.txt");
HttpResponse httpResponse = httpClient.execute(httpPost);
} catch (Exception e) {
Log.e("m40", "Error in http connection " + e.toString());
}
When I run it ...
Hello,
I consume HTTP via nio.SocketChannel, so I get chunks of data as Array[Byte]. I want to put these chunks into a parser and continue parsing after each chunk has been put.
HTTP itself seems to use an ISO8859-Charset but the Payload/Body itself may be arbitrarily encoded:
If the HTTP Content-Length specifies X bytes, the UTF8-deco...
hello,
I made a web application that I connect to it from a mobile device
and I used Ajax Request Object but the status of the object returned data is 500
and after search I found that this means Internel Server Error 500
Is there any suggestions what may be the reason ??
thanks
...
Simply, what is the difference between HybridHttpOrThreadLocalScoped & HttpContextScoped?
...
I'm looking at a website using Internet Explorer and Firefox. In each browser I select view source and see the website's URL in the links. These links were concatenated together using HttpContext.Current.Request.Url.Host in the code behind. However, when I use netcat or Burp Suite v1.3.03, looking at the same links I see the servername i...
Halo, i am interest in methods, which http analyzer uses to capture data.
I would like to write program which saves emails sent via web based clients. The problem is https and HTTP Analyzer solves it, but i dont know how.
I got one interesting answer on my question before, but it doesnt reveal as much as i would like to know.
Progra...
I am trying to be more selective in which pages/requests are using SSL for performance reasons. I would like to use htaccess to redirect to https:// for only the required pages and redirect back to http:// for everything else. This is what I have:
RewriteEngine On
# force https
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)/(abc|x...
Is there some way to use something similar to x-sendfile for uploading files, e.g. saving particular stream/parameter from request to file, without putting it wholly into memory?
(In particular, with apache2 and ruby fcgi)
...
I need to replace url invalid characters with something url valid then convert it back again.
This is for a search page with a url like http://my.site/search/this-is-a-search, the search form POSTS then the user redirected to the new url.
Php has functions urlencode and urldecode however these do not work at all, and leave invalid char...
how can i send an xml file on my system to an http server using python standard library??
...
I'm having problems uploading an app to the google-app-engine from my work place. I believe the problem is related to proxy, because I do not see the same problem when following the same procedure from home. (I do not specify HTTP_PROXY from home).
These are the commands I run (hostname replaced):
set HTTP_PROXY=http://proxy.myhostname...
Hi Guys,
Does anyone have any idea how can I save/upload a photo from iphone application via http?
Thanks
...
I want to upload a txt file to a website, I'll admit I haven't looked into it in any great detail but I have looked at a few examples and would like more experienced opinions on whether I'm going in the right direction.
Here is what I have so far:
DefaultHttpClient httpClient = new DefaultHttpClient();
HttpContext localContext = new ...