HTTP Protocol

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. Hypertext is structured text that uses logical links (hyperlinks) between nodes containing text. HTTP is the protocol to exchange or transfer hypertext. HTTP functions as a request-response protocol in the client-server computing model. HTTP is designed to permit intermediate network elements to improve or enable communications between clients and servers. HTTP is an application layer protocol designed within the framework of the Internet Protocol Suite; it presumes an underlying and reliable transport layer protocol.

Share tech news, updates, or what's on your mind.

Sign up to Post

My site has been using HTTP for most of our product links.  We will send out emails to our customers about a special and point the link in the email to the product link on our website.  I have recently changed our site to use HTTPS for more security.  However the old links that use HTTP are now redirecting back to the home page and I'm not sure how to make the system find the product page using HTTP or HTTPS?
Our site is built using a magento platform, so i can use the magneto admin feature to point to HTTP or HTTPS and or I can change the HTACCESS file, I tried both and it seems that any old link just keep defaulting back to our home page, I believe that is coming from the HTACCESS file.
Any advice or suggestion would be help full.
I need to config a squid server  between L3-switch and router without change configuration .  L3--->squid--->router
I installed a transparent squid  between the switch and the router in bridge mode, the switch has several vlans that speaks with a route.
All vlans can reach the router so bridging seems ok, but  i cant't see any log in squid's access.log  
my config as follows:
/usr/sbin/brctl addbr br0
/usr/sbin/brctl addif br0 eth0
/usr/sbin/brctl addif br0 eth1
/sbin/ifconfig eth0 promisc
/sbin/ifconfig eth1 promisc
/sbin/ifconfig br0 up
route add default gw dev br0
ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6  --ip-destination-port 80 -j redirect  --redirect-target ACCEPT --log --log-level=info --log-prefix="EBTAB" --log-ip
/sbin/iptables -t nat -A PREROUTING  -i br0 -p tcp --dport 80  -j REDIRECT --to-port 3128

after i did this,no log come and no packets in iptables's nat table
sorry for my bad english
Anyone have a suggestion on how to manage the transparent proxy mode inside the vlans?
We have a custom mobile browser developed by a third party. When viewing one website in particular, we see a page not displayed error.

The vendor states that the web server is responding with a Connection:Close when it should be using Connection:Keep-Alive.

Wanted to get some background information before we proceeded from any web server experts.

Thanks in advance!
I found this in another question and tried it. However, I'm not sure how accurate it is and I also need a Mbps output.
Can someone edit this for me for the output I am needing.


        BAND_TIME="$(date +"%F %T")"

        CSTATS=`curl -m 30 -w '%{speed_download}\t%{time_namelookup}\t%{time_total}\n' -o /dev/null -s`
        BITSPS=`echo $CSTATS | awk '{print $1}' | sed 's/\..*//'`
        DNS_TIME=`echo $CSTATS | awk '{print $2}'`
        TOTAL_TIME=`echo $CSTATS | awk '{print $3}'`

        echo Time="$BAND_TIME"
        echo Bitsps="$BITSPS"
        echo Dns_time="$DNS_TIME"
        echo Total_time="$TOTAL_TIME"

Open in new window

Using command line bash on Linux, trying to find a solution which allows sending a file and it's contents, intact with newlines, etc, to another host.  Am finding countless examples and suggestions but not one that works for me at least, so far.

I won't bother posting all of the variations I've tried but here is the last I've tried.

curl -s --cacert /etc/ssl/certs/ca-certificates.crt -u "1234:4321" --data "@/tmp/testfile"
> POST / HTTP/1.1
> Authorization: Basic MDgfYhfsDBfgfvfgOSgTssU0wam12V245b1daeGFrYVRBbmpSeW1EN2tNcVlXVXZrbUU=
> User-Agent: curl/7.38.0
> Host:
> Accept: */*
> Content-Length: 5603
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
< HTTP/1.1 100 Continue
< HTTP/1.1 204 No Content
< Date: Tue, 20 Sep 2016 17:53:50 GMT
< Server: Apache
< Cache-Control: no-cache
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8

I've also read that you need to use -o for output which I've tried, etc etc. There must be way of doing this.

The resulting file on the remote host should contain the user name being used to send it.
So, in this case, 1234-testfile
I had this question after viewing Going from HTTPS to HTTP.

I have basically the same problem as the question above. But I think we have scattered links through out the site that have https in them, so https links are staying in the searches. We don't want to scour through the site for them because we're not really working actively with it anymore.

It's on Debian GNU/Linux server. I tried using the below code and it doesn't work. I assume it's because it's checking for ssl to be on and since it isn't it skips the rule? I couldn't find any examples searching that were different than this.

RewriteEngine On
RewriteCond %{HTTPS} ^on$
RewriteRule ^(.*)$$1 [NC,L,R]

Open in new window

Thanks for any help.
This must be the 5th question I have asked in september, versus an average of 2 questions a year previously.  I have just changed the url settings in my wordpress site to https from http and now have lost access (can still ftp).  Is there an easy way to change the url back using ftp?

Some things I have already tried:

I turned wp_debug on
I can't find http settings in the wp--config.php file
I don't see an https setting in the functions.php or vars.php files

I want to redirect and then rewrite my URL (internal forwarding) so that it doesn't show the php extension as well it doesn't show the ?, = and & in the URL.

This is the example of what I want to achieve, my actual URL passed to header is http://localhost/portal/error.php?error=runtime-error which I want to show in the address bar http://localhost/portal/error.php/error/runtime-error and internally this URL is forwarded to the actual URL http://localhost/portal/error.php?error=runtime-error.

Also, what I want to achieve is here is single redirect and single rewrite rule(for internal forwarding) which applies to all the scripts instead of adding individual redirect and rewrite rules for each script page.

Below is the code that is present in my .htaccess file.
ErrorDocument 404 /portal/error.php
ErrorDocument 500 /portal/error.php

RewriteEngine On
RewriteBase /
RewriteRule ^include/(.*)$ /portal/error.php [L,R=404]

Open in new window

Kindly let me know if any more information is required.

Thanks in advance
We just finish purchasing a SSL for a site.  Yet when we log to the site without "Https", it displays the regular "Http:".  However, when typing "Https://", it display the "S" and the Lock, otherwise it doesn't.  

Is the site secure? Does it have SSL? How can we determine that the SSSLl is in effect even without seeing the Lock or "Https"?

Please advice.
I am developing a Phonegap application that not only runs on the phone but also on the desktop's browser.  The application needs to access the resources in the www directory and a few js files that reside on external sites.  So far my meta tag looks like this:

<meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' localhost:*/*  'self' *  *  *  *; ">

Open in new window

With this meta tag I am still receiving the error, " Refused to connect to 'ws://' because it violates the following Content Security Policy directive:

I have no idea what ws is.  How do I change the localhost entry in the meta tag to make the error go away?  To state the incredibly obvious, I don't know what the port number will be until the application is loaded.  Most of the time it is 8080 but not always.

Thank you for your time,

We have different types of internal websites:

i. Access to everyone

ii. Requires AD authentication

iii. Requires SiteMinder authentication

We are looking into a custom mobile browser for our users and what the user experience is like with the three types of sites.

For (ii), on the desktop, we don't notice any prompt, since I assume Integrated Windows Authentication is used. However, on the mobile browser, would this be kerberos or NTLM? How would we notice the difference and in which format do we need to enter the credentials?

At the moment, the browser prompts in the format:

Realm or Domain:

Likewise, for (iii), SiteMinder doesn't have a realm or domain. What should we enter?
IIS/FTP InstallIIS Mgr.PNGAccessing Shared Folder  from Another PCAccessing FTP server via IEFTP LoginFTP ErrorHi,
  I have set up FTP server on a domain joined PC  (OS: Windows 7 Professional).
  I installed FTP Extensibility, FTP Service and IIS Management Console.
  I opened IIS manager and created a FTP site and new FTP site is up and running.
  I can access three test files by doing \\ from the PC on the same network.
  I can also view three test files when I run

  However if I run FTP program to access the FTP server (NetBIOS name: DISK, IP address:, I get an error.
   What do I need to do to be able to connect to the FTP server running from "DISK" PC?

I have a webpage with a "slide show" of transitioning background images that sort of tell the story of the accompanying song: I like the way it looks but when I'm in landscape view on my mobile phone and I have to scroll down the right hand div to see all the lyrics, the background image gradually gets covered with black from the bottom up as you scroll.

Is it possible to keep the background images showing full screen when I scroll? For comparison look at the same page with one stationary image:

I'm guessing that my code is pretty unprofessional but hopefully there's a solution that wouldn't require too much modification.

We started getting "Page not found" when trying to connect to BusinessObjects XI 3.1 SP6 via https, only for Internet Explorer. We could make the connection via Chrome (but Chrome doesn't fully work with BO for editing reports).

I've narrowed it down to Windows KB3172605 - when this installed, we started getting "Page Not Found". I removed it and we connected. The same scenario is reported in my third link below. This was part of this set of updates:
Windows updates
The page not found error occurred on our development box (with a DOD cert, Sha-1) and on Prod (self-signed cert). So since it fails on both, my conclusion is that it's not the cert.

Here are a couple of links on KB3172605
- Microsoft yanks buggy speed-up patch KB 3161608, replaces it with KB 3172605 and 3172614 (it doesn't say all that much about KB3172605)

- Microsoft rollup announcement, July 2016 (it says it works with Sha-1)

- German blog with discussion on KB3172605, which basically says "don't install it"
     - Also, the third comment is our exact issue

So my questions are
- These KB things, they (often) only affect IE, not Chrome, is that right ?

- BusinessObjects XI 3.1 SP7 officially works with IE-11, but SP6 (which we have) does not support IE-11, but it worked fine until KB3172605. So my gut reaction is that upgrading to SP7 wouldn't solve the issue, it seems to me that KB3172605 is the issue. What do you think ?
Hello all,
    I have an HP Layer 3 1920 switch as well as a Sonicwall NSA 2600 and am trying to figure out a way to restrict access on port 15 of the HP to only have internet, similar to a "guest mode" on a wireless router. I do not know what the IP will be nor do I know the MAC address of what will be on that port. What is the best way to go about this?

How to set it up ??
I have the below code i have been using for ages, that long that ive forgotten how to submit information via a URL to it rather than through an app.

Can anyone let me know what i have to type to get info out on the other end please.


Dim fs, file

file=fs.CreateTextFile("C:\test\upload\" & request.form("Reference") & ".txt",true)

TN = request.form("TradingName")
FN = request.form("firstname")
SN = request.form("surname")
TL= request.form("Tel")
EM = request.form("Email")
PC = request.form("PostCode")
NT = request.form("Notes")
CT = request.form("CompanyType")
ES = request.form("Established")
RV = request.form("Revenue")
LT = request.form("LeadType")
TT = request.form("TTD")
AT = request.form("ATV")
RF = request.form("Reference")

AT = Replace(AT, "#"  , "")
AT = Replace(AT, """"  , "")
AT = Replace(AT, "£"  , "")
AT = Replace(AT, "&quot;", "")
AT = Replace(AT, "&lt;"  , Chr(60))
AT = Replace(AT, "&gt;"  , Chr(62))
AT = Replace(AT, "&amp;" , Chr(38))
AT = Replace(AT, "&nbsp;", Chr(32))


Open in new window

Hi All,

We used Coova-Chilli for WiFi-Marketing and we got an issue with smartphone device, when the end-users accessed Access Point (AP), the system automatically popup iframe:

1. If using HTTP, it redirect to URL with HTTP
2. If using HTTPS, it couldn't popup URL using SSL

Please give us your advices how to resolve this issue.

Thanks in advance,

PS. it worked OK when using HTTP or HTTPS for PC/Laptop.
I have a nginx server sitting on dmz to poing traffic to a java application.  The reason why i call it java application is because it only has a xxx.jar file running. I could like to proxy the http traffic to the java application. The port is poart 80. I did the following nginx configuration as below, but it doesn't work. Is there any nginx experts here can help me with this issue?

[root@pmsdev jyu]# ps -ef | grep java
root      3108     1  0 13:29 ?        00:01:56 java -jar /data/AveryRollProduction.jar /tmp
root      3933  3918  0 17:24 pts/0    00:00:00 grep --color=auto java

    server {
        listen       80 default_server;
        listen       [::]:80 default_server;
        # server_name  localhost;
        # root         /usr/share/nginx/html;

        server_name  localhost;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;

        location / {

        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;


Open in new window

Hello EE,

Is it possible to read the value of a POST Header Entity Response Body value ?
in other words, If I have an Entity  Content-Length : 56

how can I know its value ? I know its the length, but how can I see what is it? doesnt matter if its ASCII or something else to me

another question attached to this is, if I know its value, is it possible to achieve the same results with a Querystring after ?
We recently began noticing issues with our ATS when we added a new url to web application.  I've searched everywhere for information on how to understand the ATS diags.log but I haven't found anything that will help me decode these errors.  Nothing on the Apache site was too clear.  Has anyone experienced issues with Slow Requests from ATS.  Also

[Aug 13 21:05:56.242] Server {0x2b41ad211700} ERROR: [1746026] Slow Request: client_ip: url: status: 200 unique id:  bytes: 24092 fd: 0 client state: 0 server state: 0 ua_begin: 0.000 ua_read_header_done: 0.000 cache_open_read_begin: -1.000 cache_open_read_end: -1.000 dns_lookup_begin: 0.000 dns_lookup_end: 0.000 server_connect: 0.000 server_first_read: -1.000 server_read_header_done: -1.000 server_close: -1.000 ua_close: 30.859 sm_finish: 30.859
Hello all,
    Users (including myself) have been getting the error of :net::ERR_CONNECTION_RESET: when trying to select an item that they searched for  (ajax loaded search results), but when they click on the item it takes them to an error screen. It was discovered first on an ipad using Safar on a 3g connection and they were not able to provide much information, so then I tried on my phone and got it as well (Android Marshmellow, using Chrome), so I connected my phone to my PC and enabled remote debugging, but only came across this really.

:Failed to load resource: net::ERR_CONNECTION_RESET


If I put my phone on wifi, it seems to work just fine, but when I switch over to 4g LTE, it then does it again. My PC works fine, as does everyone elses here, but we have had 4 reports, (2 from sales people, 2 from customers). The rest of the site seems to be working fine, but it is only when actually selecting a product in a search field that uses ajax to create a list of matching items. That works fine, it is only when you actually click on one of the items it then does this.

Could it possibly be a server setting of some sort?

Thanks all
Hi, I have a simple POST command that sends username and password, this works very well on all workstations that I have tried so far but not on my customer workstations.   Even though it worked for several months, now I get an error 1.1 400 bad request.    I'm not sure what could have changed, maybe some security settings on the server.    

If I use a wrong password or username I'm getting the response that authentification failed, so the POST command is working.    When username and password are good, there's some redirection done I suppose, that's when the error happens from what I can guess.

I'm using delphi XE, component tIdHTTP, here is my complete code (without the actual password):

var idhttp1 : tIdHttp;
JsonToSend: TStringStream;
sResponse : string;
    idhttp1 := tidhttp.create(application);
    idhttp1.HandleRedirects := True;
    idHTTP1.Request.ContentType := 'application/x-www-form-urlencoded';
    JsonToSend := TStringStream.Create('AccountNumber=852&Username=buroprostation&Password=xxxx');
       sResponse := idHTTP1.Post('', JsonToSend);
      on E: Exception do
We have an apache webserver and neet to modify the .htaccess file so that all possible canonical versions of our homepage redirect to the root of domain without the trailing slash i.e. we want the homepage to have this URL:   

We setup some .htaccess redirects which deal most of the canonicals however when we found that we also need to redirect  TO root  

 What would be the additional rewrite rule we need to add to the ones we have already  to do this?

This is what we have so far in our .htaccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^
RewriteRule (.*)$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^[0-9]+(\.[0-9]+){3} [OR]
RewriteCond %{HTTP_HOST} ^our-website\.com
RewriteRule (.*)$1 [R=301,L]
rewritecond %{HTTP_HOST} ^our-website\.com
rewriteRule ^(.*)$1 [R=301,L]

Thank you
I am developing an Ionic application for iPad. The app is supposed to connect to Express running on Mac.

I have connected the iPad with this Mac using a usb cable. Now, in order to check that I can access node server from iPad, I am doing the following in Chrome on iPad

http://<mac ip>:<node server port>

How, this returns a page not found. The same url works when I run it directly on the Mac.

Given the Mac and iPad are connected by the usb, how can I access node server running on mac from iPad? I was hoping that something like would work, but that is not the case. Even giving the IP of Mac does not work.

HTTP Protocol

The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. Hypertext is structured text that uses logical links (hyperlinks) between nodes containing text. HTTP is the protocol to exchange or transfer hypertext. HTTP functions as a request-response protocol in the client-server computing model. HTTP is designed to permit intermediate network elements to improve or enable communications between clients and servers. HTTP is an application layer protocol designed within the framework of the Internet Protocol Suite; it presumes an underlying and reliable transport layer protocol.

Top Experts In
HTTP Protocol