fortran-lang / http-client

http-client offers a user-friendly, high-level API to make HTTP requests in Fortran.
https://http-client.fortran-lang.org/
MIT License
60 stars 8 forks source link

Added test for GET request #13

Closed rajkumardongre closed 1 year ago

rajkumardongre commented 1 year ago

Thanks @milancurcic, i have made the required changes

rajkumardongre commented 1 year ago

Should I assume that when I use the write(stderr, *) "error message" statement to display an error message, I also need to include an error stop 1 statement to stop the program execution when the error occurs?

milancurcic commented 1 year ago

Yes, when you write(stderr, *) "error message", it merely prints it to standard error stream, but the program can still complete with a 0 status, so we need error stop 1.