add status codes

This commit is contained in:
aler9
2020-05-03 14:07:26 +02:00
parent e085d60e59
commit 19c5ce536b
3 changed files with 64 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ var casesResponse = []struct {
"\r\n",
),
&Response{
StatusCode: 200,
StatusCode: StatusOK,
Status: "OK",
Header: Header{
"CSeq": []string{"1"},
@@ -40,7 +40,7 @@ var casesResponse = []struct {
"\r\n",
),
&Response{
StatusCode: 200,
StatusCode: StatusOK,
Status: "OK",
Header: Header{
"CSeq": []string{"2"},