For now I have the following lines in a project configuration on pylons:
[server:main]
...
ssl_pem = /path-to-pem/file-name.pem
so paster serves only HTTPS requests but not HTTP. Any HTTP request causes the following exception in paster debug console:
Traceback (most recent call last):
File "/home/eigenein/Projects/Python/Pylons/li...
Say I make an HTTP request to: foosite.com but the port I actually send the request to is 6103 but I DON'T put that port in the "Host" header for example:
GET /barpage HTTP/1.1
Host: foosite.com
Method: GET
Should the server then recognize that I'm trying to talk to it on port 6103? Or since it was omitted in the request am I gambling...
I have this code to log in to xing:
class Programm
{
private static HttpWebRequest request;
private static HttpWebResponse response;
public static void Main()
{
//string targetUrl = "/app/forum/seoparser/bpmn/";
string requestUrl = "http://www.xing.com/app/user";
//Diese Parameter werden per Post...
After finishing school in Computer Science and entering the "real world" as a software engineer working on web applications, I've become overwhelmed by the amount of information to be learned about scaling web applications properly. Some topics/questions that have recently popped up for me:
RDBMS's vs. unstructured data storage.
Advant...
Is it possible to send requests using libcurl in gzipped form? How can I do that?
...
I've written an update checker routine for our apps which contacts our server via regular HTTP and naturally I had to provide configuration options for connections through proxy servers. Currently I'm only providing options for proxy name (or address) and port number plus an "auto-detect" option which simply reads those two values from I...
I learn about HTTP and need some examples of HTTP PUT method structure, something like this one for HTTP POST method
Can you tell me some, thanks!
...
I usually deal with at least two dozen servers on a weekly basis. I thought it would be a good idea to create a script that queries each of them and determines whether they're "up" or not.
The servers run either Apache2 or IIS7.
The hosting providers vary
There are usually multiple sites on each server
The setups are inconsistent, the...
Background: The page has a table with data in it. There are several hyperlinks that when clicked, the data in the table is replaced with new data. Also, the page is an aspx page.
Goal: I want to scrape the data in the table for all hyperlinks pressed.
I have looked at what is going on via firebug and when a hyperlink is clicked, it ge...
... due to server-side rules.
Specifically, I have comments that nest, and I am forbidding the deletion of comments with children.
So when someone requests:
DELETE /comments/5
where the 5th comment has children, I do not allow the comment to be deleted. What is the appropriate HTTP status code? I use a 405 elsewhere on the site, but...
If I run an audit on my sites with Google Chrome, I get this message in the Leverage browser caching section:
The following resources are missing a
cache expiration. Resources that do
not specify an expiration may not be
cached by browsers:
A list of all the pictures follows. I get a similar notice in Leverage proxy caching:
...
I realize that HTTPS is supposed to be more secure because it encrypts communication between you and the server so that your passwords and credit card numbers don't get sent in plain-text. However, when using LiveHTTPHeaders, I can still see my password in plain-text in the POST even when using an https connection. Why is this the case...
Are there any simple HTTP APIs out there which will let me get the stock price for a symbol (such as GOOG) at a specific date and time?
Something like...
http://somewebsite.com/?
symbol=GOOG&
year=2010&
month=7&
day=30&
hour=4&
minute=00
Giving a response of $484.85
I'm hoping to have an end result of a haske...
Hello,
I am trying to use
NSString *myString = @"NO";
[myString writeToURL:[NSURL URLWithString:@"http://example.com/text.txt"] atomically:YES];
But am having no luck. myString is set to NO and example.com is set to the correct website. The only issue I could see would be text.txt already existing? Can writeToURL even write to http?...
I want to selectively hide some resources based on some form of authentication in web.py, but their existence is revealed by 405 responses to any HTTP method that I haven't implemented.
Here's an example:
import web
urls = (
'/secret', 'secret',
)
app = web.application(urls, globals())
class secret():
def GET(self):
...
Hi Everyone,
I have a rails app with a mobile view using jqtouch. If the application is viewed on an iPhone application.mobile.erb loads in place of the default application.HTML.erb.
Everything works fine, except the login. Users can login and then view the content. However, they have to login everytime they load the site. Is there a ...
I've tried using the JMF libraries with the "MediaPlayer" bean, but it doesn't seem to be doing anything, or it plays a split-second of the audio track. I do have the Mpeg3 codecs installed - so that's not the issue. I was wondering if anyone has a better method of accomplishing this?
Current code for using the MediaPlayer:
mediaPlayer...
Since the POST request in a POST/Redirect/GET (PRG) pattern returns a redirect (303 See Other) status code on success, is it at all possible to inform the client of the specific flavour of success they are to enjoy (eg. OK, Created, Accepted, etc.) as well as any appropriate headers (eg. Location for a 201 Created, which might conflict w...
I would like to know why a developer would make a POST request without using a form.
Thanks!
...
I use the following code to send a .zip file to a customer, it works great for files around 60-80 Mb but when I try with larger files (300 Mb) customers report that the browser (both IE and FFX) just stops download progress after a few minutes (around (80Mb)) and nothing more happens.
I wonder if there could be a setup issue with IIS th...