Questions tagged as 'http'

2
answers

What is HTTP response splitting?

Reading about HTTP headers I came across a filter function that removed both invalid characters from the header field value and multiple CRLF characters. This second on the pretext of avoiding the HTTP response splitting . By what I und...
asked by 06.07.2017 / 14:37
1
answer

How to send Tokens from the server to the client?

I am creating an API, I use Token Authentication (JWT), I want this token to be valid for, say, 10 minutes, and, at each request, return a new Token, so the user will have access while active , if it is disconnected for a long time (more than 10...
asked by 17.09.2018 / 22:51
4
answers

What are the differences between HTTP 2 and HTTP 1.1?

A very pertinent question was asked earlier to find out what differences between HTTP 1.1 and HTTP 1.0 . I wanted to know exactly the same but between HTTP 2.0 and HTTP 1.1 . In addition, can you tell if the pr...
asked by 22.11.2016 / 11:29
1
answer

What is a "stateless protocol" such as HTTP?

Lately I've read a lot of web stuff and I always see someone mentioning that HTTP is a stateless protocol . Here's a snippet of RFC 2616 my emphasis    The Hypertext Transfer Protocol (HTTP) is an application-level      protocol for di...
asked by 22.03.2016 / 23:51
1
answer

Difference between normal request / response, long-polling, websockets, WebRTC and Server-Sent Events?

I had a misunderstanding of long-polling , I began to notice that it is actually a "technique" that runs on top of a normal request, this is where I started to search and noticed several questions in the but most are "how to", I would like to u...
asked by 20.11.2016 / 22:34
2
answers

What is the difference between htm, html, dhtml and ghtml?

Browsing our "deepweb ", I noticed some variations of URL extension in the browser on a few simple pages. For example, on the globo.com website, which for some cases is .ghtml . For some time I figured Globe had created its own extensi...
asked by 03.02.2017 / 13:24
5
answers

Security in submitting information via form in the HTTP header

After a few tests on Yahoo and Facebook, I realized that after filling in my username and password and clicking Login, with the developer tools open in the Network option (Chrome or Firefox) I noticed that if I stop sending the data on the pag...
asked by 13.05.2014 / 03:58
2
answers

What is Basic Auth?

What is and how Basic Auth works? In what scenarios should it be used? Is it safe to use it now, since we already have OAuth and OAuth2 , among other more modern forms of authentication?     
asked by 11.11.2017 / 03:55
1
answer

What does handshake mean?

While studying about WebSocket , I read the following sentence:    Your only relationship to HTTP is that your handshake is interpreted by HTTP servers as an upgrade request. In this context, what does handshake mean? In practice, w...
asked by 31.01.2017 / 15:25
2
answers

REST and HTTP are the same thing?

I'd like to know the difference between REST and HTTP. For a while, I've been studying these two subjects and they seem to me to be the same thing.     
asked by 01.11.2015 / 20:20