zmoteio / zmote-firmware

Firmware code and associated utilities for the zmote widget
MIT License
21 stars 6 forks source link

Config get/set APIs ( GET /mac/api/config/%s and POST /mac/api/config/) do not send HTTP Status line and headers #3

Open EBNull opened 7 years ago

EBNull commented 7 years ago
GET /mac/api/config/mqtt_server HTTP/1.1
Host: zmote
User-Agent: Go-http-client/1.1
Accept: application/json
Connection: close
Accept-Encoding: gzip

2016/12/31 17:32:10 Get http://zmote/mac/api/config/mqtt_server: malformed HTTP response "{\"mqtt_server\":\"router.lan\"}"