View Issue Details

IDProjectCategoryView StatusLast Update
0031013RunnerMacPublic2019-08-06 10:50
ReporterYellowAfterlifeAssigned ToFritz 
PriorityLowSeverityC - GeneralReproducibility100%
Status ResolvedResolutionFixed 
PlatformWindowsOSWindows 10 ProOS Version>=1703
Product Version 
Target Version2.2.4Fixed in Version 
Summary0031013: Mac: non-POST http_request with body starting with NUL times out and throws a broken async event
DescriptionGML:
var b = buffer_create(512, buffer_grow, 1);
buffer_write(b, buffer_u8, 0);
buffer_write(b, buffer_string, "hi");
var url = "http://yal.cc/ping/method/";
var h = ds_map_create();
h[?"Content-Length"] = string(buffer_tell(b));
http_request(url, "GET", h, b);


Output:
{ "response_headers": 1.000000, "http_status": 0.000000, "url": "http:\/\/yal.cc\/ping\/method\/", "id": 0.000000, "status": 0.000000, "result": "unknown error" }


Let's break that down:
status is 0 (success)
HTTP status is 0
headers are empty
result is "unknown error"
Additional InformationI suggest to throw an error or something
Tagsbsc, functions, mac, Runner
1.4 Found In
2.x Runtime Found In9.9.1.1455
2.x Runtime Verified In

Activities

YellowAfterlife

2019-06-06 06:47

Developer  

http_request_with_nonstring_header_fields.yyz (20,320 bytes)