- cat > "${testname}.expected-http-req" <<EOF
-POST /oauth/token HTTP/1.1\r
-User-Agent: nmh/${MH_VERSION} ${CURL_USER_AGENT}\r
-Host: 127.0.0.1:${http_port}\r
-Accept: */*\r
-Content-Length: $1\r
-Content-Type: application/x-www-form-urlencoded\r
-\r
+ sort > "${testname}.expected-http-req" <<EOF
+POST /oauth/token HTTP/1.1
+User-Agent: nmh/${MH_VERSION} ${CURL_USER_AGENT}
+Host: 127.0.0.1:${http_port}
+Accept: */*
+Content-Length: $1
+Content-Type: application/x-www-form-urlencoded
+