[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: TCP_CLOSE.svg.png (19 KB, 500x400)
19 KB
19 KB PNG
your reminder that HTTP can be replaced with a properly structured json over tcp
>>
>>107598087
Sure you could, but why would you?
>>
>>107598087

Eh, why though?
>>
>>107598609
>>107598638
op please respond
>>
>>107598087
JSON is also shit.
Still using HTTP 1.1.
Not using webp.
>>
>>107598087
it can't

I don't want to do your homework for you, but think about a body that is larger than your RAM
>>
[
{
"tagName": "!doctype",
"html": true
}, {
"tagName": "html",
"lang": "en",
"children": [
{
"tagName": "head",
"children": [{
"tagName": "title",
"children": [
"JSON replacing HTTP demo"
]
}]
}, {
"tagName": "body",
"children": [{
"tagName": "h1",
"children": [
"JSON instead of HTTP is so very much better and more readable, too."
]
}]
},
]
}
]
>>
>>107599792
Not OP but are you alluding to HTTP/2 streaming / HTTP/1.1 chunked transfer encoding? Not sure I'm following, it's still TCP so the body is sent in segments that the client could receive and process one at a time and then discard while the total size exceeds the size of main memory, no
>>
>>107598087
>properly structured json



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.