Hi
When we start play streaming video via url via mpmovieplayer , wolume bar is in 0 position , but there is sound when start playing http streaming video .
Pls advice us how to solve this . Thanks !
...
Hello Experts,
This is a two part question.
Q1: Can cURL based request 100% imitate a browser based request?
Q2: If yes, what all options should be set. If not what extra does the browser do that cannot bee imitated by cURL?
I have a website and I see thousands of request being made from a single IP in a very short time. These reque...
I'm looping through an array of URL strings of images hosted at an external site.
It looks something like this:
def get_image_urls
image_url_array.each do |image_url|
puts image_tag image_url
end
end
Which will return the URLs of images hosted on the external site. The problem is, some of these images might be broken (404). S...
We have a web service which serves small, arbitrary segments of a fixed inventory of larger MP3 files. The MP3 files are generated on-the-fly by a python application. The model is, make a GET request to a URL specifying which segments you want, get an audio/mpeg stream in response. This is an expensive process.
We're using Nginx as th...
HTTP Last-Modified header contains date in following format (example):
Wed, 09 Apr 2008 23:55:38 GMT
What is the easiest way to parse java.util.Date from this string?
...
I am gzipping my static Javascript and CSS files using PHP. When the original file is requested, the server sends the Last-Modified and ETag headers. I'm not sending these with PHP just yet. I've also seen suggestions to use Cache-control and Expires headers and some more that I don't remember.
Are those first two enough? I guess I can ...
I have a server which will be serving up javascript files, I need to grab it and execute some of it's functions using SpiderMonkey in python. How can I do this?
...
I am playing around with CouchDB Replication and I'm wondering how to copy a local database of name "myDatabase" to a remote database on www.mySite.com that requires ssh access, and rename it to "myRemoteDatabase". How do I do that?
I am able to login to both the local and remote servers and run:
curl -X GET http://localhost:5984/
.....
I've recently moved from [Windows 2003-32 bit, IIS 6 .NET 2.0] to [Windows 2008-64 bit, IIS 7 .NET 2.0].
Everything seems to be working fine except from the HTTP 500 error I am getting periodically and I also get timeouts in my database MSSQL 2005-randomly and on any on random stored procedures (DB is optimized and working fine-all stor...
Hi,
As per title, I am simply trying to install pecl_http extension for php in ubuntu.
So I did what makes most sense:
andreas@earl ~ $ sudo pecl install pecl_http
downloading pecl_http-1.6.6.tgz ...
Starting to download pecl_http-1.6.6.tgz (173,645 bytes)
.....................................done: 173,645 bytes
71 source files, buil...
I noticed today that SO uses magic URLs in the form. For example, a question is ".../questions/[nnn]/[description]. As an experiment when showing a question I changed the description and hit enter. As expected, it did not affect the request and the question showed just fine, only with a garbage URL:
http://stackoverflow.com/questions...
I am trying to find the best way (most efficient way) to return large files from Django back to an http client.
receive http get request
read large file from disk
return the content of that file
I don't want to read the file then post the response using HttpResponse as the file content is first stored in RAM if I am correct. How can ...
Hi,
I'm trying out the twitter streaming api. I could succesfully filter tweets by using curl, as stated here:
curl -d @tracking http://stream.twitter.com/1/statuses/filter.json -u <user>:<pass>
where tracking is a plain file with the content:
track=Berlin
Now I tried to do the same thing in JavaSE, using Apache's HTTPComponents:
...
Hi, I want to redirect this:
subdom.mydom.com/mydoc
TO
mydom.com/subdom/mydoc.php
Sorry for being too obvious. I know the htaccess rewritting basis but this is making me a little crazy :)
...
How to create HTTP server push (also known as HTTP streaming) with PHP (better streaming video)?
Tuts
Libs
are vary welcome
...
We are using HttpURLConnection API to invoke a REST API to the same provider often (kind of an aggregation usecase). We want to keep a pool of 5 connections always open to the provider host (always the same IP).
What is the proper solution? Here is what we tried:
System.setProperty("http.maxConnections", 5); // set globally only once...
I'm trying to figure out if redirecting all www.example.com requests to example.com will be beneficial for caching or not, to which end I have 2 questions. SEO is not an issue here.
If the browser requests an image from the www URL (#1) and gets HTTP redirected to the www-less version (#2), will it store the result as cache value for j...
If the content type of a page is an image, how reliable is it that the headers will actually indicate that it is an image? Should I use this as the sole method for determining if a page (URL) is an image?
...
I am currently using the script below to output the contents of a JPEG straight from a file. The reason I'm doing so is because I'm using mod_rewrite/php to mask the name of the original file. This is working partially as expected, except that Safari insists on downloading the photo instead of just allowing me to see it in the browser. A...
How exactly would we go about adding state to http without the hackish workarounds we currently use involving query strings, hidden fields, cookies and session state?
...