Commit Graph

9 Commits

Author SHA1 Message Date
Grégoire Henry
33a7ca51c3
Client: Use Host in HTTP requests
and add proper error message when the node refuses connection for
unallowed origin (CORS).
2019-02-26 12:00:37 +01:00
Grégoire Henry
24686ae8f2
Shell/RPC: enforce Host when using CORS. 2019-02-26 12:00:32 +01:00
Vincent Botbol
3405231a1f
Resto: decode uri before converting the path 2018-10-17 15:06:34 +02:00
Pierre Boutillier
140bd6b1ca Tezos is now Open Source 2018-06-30 17:41:32 +02:00
Vincent Bernardoff
76bf25646c Resto: fix CORS
CORS also requires to send the "Access-Control-Allow-Origin" header on
direct requests or requests following preflight requests.
2018-05-12 23:58:20 +02:00
Grégoire Henry
66c2a60530 Client refactor: use the error_monad for all RPC services 2018-02-12 16:54:08 +01:00
Grégoire Henry
575e367026 Update copyright notice (2018) 2018-02-05 23:34:05 +01:00
Grégoire Henry
26d1c463f9 Resto: split Resto_cohttp.Server 2017-12-11 17:53:48 +00:00
Grégoire Henry
34cca61f7b Resto: minor renaming 2017-12-11 17:53:45 +00:00