jppgks / http-client-server Goto Github PK
View Code? Open in Web Editor NEWClient and server implementation of the Hypertext Transfer Protocol (HTTP) using Java Sockets
Client and server implementation of the Hypertext Transfer Protocol (HTTP) using Java Sockets
voornamelijk: testen of het parsen van de "If-Modified-Since" datum juist werkt. Anders moeten we terug overschakelen naar dat externe package.
Introduced in #25.
Broken pipe
when trying to POST to the server running in a Docker container, in this case on 172.17.0.2
.
$ gradle run -Pmethod=POST -Phost=172.17.0.2 -Pport=8080 -q
Enter the body of your request:
bla
Could not write standard input into: command '/Users/joppegeluykens/anaconda3/bin/java'.
java.io.IOException: Broken pipe
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:326)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:56)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Server should be able to access stored embedded objects that were retrieved during a client request in order to serve them.
protocol relative URLs start with //
send 304
status code 100: continue
can be ignored, but headers should be read
possible fix: set boolean to false when connection is closed after previous response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.