I've got a duplicate content issue where there's two instances of my site indexed in google:
the first is the actual domain: http://domain.com
the seconds is my WHM/CPanel preview of the account: http://123.456.78.9/~/domain
Is there any way to redirect the IP version to the real domain?
...
I'm trying to download several images in response to a single http request. On the server side (java) I'm using oreilly multipart response and I'm getting my datas in my iPhone Simulator in didReceiveData (approximately one call for each image) after a call to didReceiveResponse (approximately one call for each image as well) in my deleg...
I login to a webpage using http:// I get redirected by javascript to https://. This opens a login page under https. After logging on successfully the next page is in http again. Why didn't the next page open with https as well. I am using JETTY as web server.
...
I have a page that is under SSL.
However, in IE6, I get a notification:
"This page contains both secure and non-secure items" etc.
I've looked at all the HTTP requests for that page in both Firebug and Wireshark, and non of it seems to be sent over plain HTTP, all the resources are being fetched over SSL/TLS. However, IE6 still give...
I have two processes that I'd like to pipe together with C#, and then send the output of the second one directly to an HTTP output stream.
In a command line, I can do this and it works perfectly (where "-" represents stdin/stdout):
proc1 "file_to_input" - | proc2 - -
My problem is connecting these two processes in C# and being able t...
This is the raw HTTP call that I make to verify authentication. It returns the expected response:
GET /1/account/verify_credentials.xml HTTP/1.1
Authorization: OAuth oauth_token="12556442-pndSo1mf2i1ToPSbAyLH4qBBDHmtyutjbvMLckGER",oauth_consumer_key="ih75ityikrTdIwB9kQ",oauth_nonce="6wIbdfxL",oauth_signature_method="HMAC-SHA1",oauth_si...
Hello there,
I am trying to add a query string at the end of URL for a hyperlink control as follows
HyperLink testLink = new HyperLink();
testLink.NavigateUrl = "http://www.example.com" + "?siteId=asd343s32kj343dce";
But when this is rendered in the browser it is displaying as
http://www.example.com/?siteId=asd343s32kj343dce (/ char ...
I need a .NET library to synchronise files from a server to a client (one way).
Requirements:
Should be a .NET library
Needs to be deployed via ClickOnce (that is, no instalation, no COM etc.)
Needs to support HTTP and/or FTP and/or SMB
Open Source, Free or Commercial
...
Is there any disadvantage of using URL expiring concept to protect online videos?
...
Cross Site Request Forgery (CSRF) is typically prevent with one of the following methods:
Check referer - RESTful but unreliable
insert token into form and store the token in the server session - not really RESTful
cryptic one time URIs - not RESTful for the same reason as tokens
send password manually for this request (not the cached ...
I use simple PHP code (zend framework) to resize jpg images on the fly.
Problem is I always end up with HTTP 200 status, instead having 304 and allow browsers to cache images.
I cant get apache headers, function_exists('apache_request_headers') is false, and in server variable I have only
'HTTP_ACCEPT' => 'image/png,image/*;q=0.8,*/*...
Lets say you have a page with headers that tell the browser not to cache.
Also, this page has already been posted back to itself.
Now you hit the refresh button and you click cancel on the IE modal box with the "previously submitted..." message.
You get "Webpage has expired". This doesn't happen in FF or Chrome.
Is there a way to pr...
Scenario:
I have a regular aspx page with a form.
When someone clicks a button the form submitted via post like normal.
HOWEVER. The page where the form resides is the default page(Default.aspx). So when someone goes to the site: http://site.com/ and submits the forms he gets redirected to http://site.com/default.aspx. I tried setting...
According to the RFC, individual cookies in the "Cookie" HTTP header may be separated by commas as well as by semicolons. However, ASP.NET does not parse the commas case correctly - it does not count comma as a separator, but considers it just part of the value.
For example
If a client sends header Cookie: a=b, c=d, then the ASP.NET app...
I am currently trying to stream content out to the web after a trans-coding process. This usually works fine by writing binary out to my web stream, but some browsers (specifically IE7, IE8) do not like not having the Content-Length defined in the HTTP header. I believe that "valid" headers are supposed to have this set.
What is the pro...
Hi, I'm writing a little project which interacts with a set of servers using HTTP 1.1 GET and POST. The server gives me the response after some header lines, so I though on using strtok() function using \n as the delimiter but there is a crash whenever I try to do so.
Is there any simple way to parse a HTTP response in C? I would like n...
Right now I have been trying to use Launchpad's API to write a small wrapper over it using C#.NET or Mono.
As per OAuth, I first need to get the requests signed and Launchpad has it's own way of doing so.
What I need to do is to create a connection to https://edge.launchpad.net/+request-token with some necessary HTTP Headers like Conte...
Hi
I'd like to get suggestions on the best way to serve python scripts up as web pages. Typically I'd like a way for me and my colleagues to write simple web pages with minimal effort ie we focus on the business logic eg creating simple forms etc. Possibly with some way to manage sessions but this is a nice-to-have. It doesn't have to b...
I've got a bunch of flash files being served off a HTTPS site in IIS7. With content compression turned on, the flash files wont display. Does flash not support HTTP compression, or is IIS doing something unusual?
...
I can use this verb in the Python Windows SDK. But not in production. Why? What am I doing wrong?
The error message includes (only seen via firebug or fiddler)
Malformed request
or something like that
My code looks like:
from google.appengine.ext import db
from google.appengine.ext import webapp
class Handler(webapp.RequestHand...