Browse Source

Add '; charset=utf-8' to 'Content-Type' header

Maurits van der Schee 4 years ago
parent
commit
227066ee2a
100 changed files with 239 additions and 239 deletions
  1. 1
    1
      tests/functional/001_records/001_list_posts.log
  2. 1
    1
      tests/functional/001_records/002_list_post_columns.log
  3. 1
    1
      tests/functional/001_records/003_read_post.log
  4. 1
    1
      tests/functional/001_records/004_read_posts.log
  5. 1
    1
      tests/functional/001_records/005_read_post_columns.log
  6. 2
    2
      tests/functional/001_records/006_add_post.log
  7. 2
    2
      tests/functional/001_records/007_edit_post.log
  8. 2
    2
      tests/functional/001_records/008_edit_post_columns_missing_field.log
  9. 2
    2
      tests/functional/001_records/009_edit_post_columns_extra_field.log
  10. 2
    2
      tests/functional/001_records/010_edit_post_with_utf8_content.log
  11. 2
    2
      tests/functional/001_records/011_edit_post_with_utf8_content_with_post.log
  12. 2
    2
      tests/functional/001_records/012_delete_post.log
  13. 1
    1
      tests/functional/001_records/013_add_post_with_post.log
  14. 2
    2
      tests/functional/001_records/014_edit_post_with_post.log
  15. 2
    2
      tests/functional/001_records/015_delete_post_ignore_columns.log
  16. 11
    11
      tests/functional/001_records/016_list_with_paginate.log
  17. 2
    2
      tests/functional/001_records/017_edit_post_primary_key.log
  18. 2
    2
      tests/functional/001_records/018_add_post_missing_field.log
  19. 1
    1
      tests/functional/001_records/019_list_with_paginate_in_multiple_order.log
  20. 1
    1
      tests/functional/001_records/020_list_with_paginate_in_descending_order.log
  21. 1
    1
      tests/functional/001_records/021_list_with_size.log
  22. 1
    1
      tests/functional/001_records/022_list_with_zero_page_size.log
  23. 1
    1
      tests/functional/001_records/023_list_with_zero_size.log
  24. 1
    1
      tests/functional/001_records/024_list_with_paginate_last_page.log
  25. 1
    1
      tests/functional/001_records/025_list_example_from_readme_full_record.log
  26. 1
    1
      tests/functional/001_records/026_list_example_from_readme_with_exclude.log
  27. 1
    1
      tests/functional/001_records/027_list_example_from_readme_users_only.log
  28. 1
    1
      tests/functional/001_records/028_read_example_from_readme_users_only.log
  29. 1
    1
      tests/functional/001_records/029_list_example_from_readme_comments_only.log
  30. 1
    1
      tests/functional/001_records/030_list_example_from_readme_tags_only.log
  31. 1
    1
      tests/functional/001_records/031_list_example_from_readme_tags_with_join_path.log
  32. 1
    1
      tests/functional/001_records/032_list_example_from_readme.log
  33. 1
    1
      tests/functional/001_records/033_list_example_from_readme_tag_name_only.log
  34. 1
    1
      tests/functional/001_records/034_list_example_from_readme_with_transform_with_exclude.log
  35. 2
    2
      tests/functional/001_records/035_edit_category_with_binary_content.log
  36. 4
    4
      tests/functional/001_records/036_edit_category_with_null.log
  37. 2
    2
      tests/functional/001_records/037_edit_category_with_binary_content_with_post.log
  38. 1
    1
      tests/functional/001_records/038_list_categories_with_binary_content.log
  39. 2
    2
      tests/functional/001_records/039_edit_category_with_null_with_post.log
  40. 1
    1
      tests/functional/001_records/040_add_post_failure.log
  41. 1
    1
      tests/functional/001_records/042_cors_headers.log
  42. 2
    2
      tests/functional/001_records/043_error_on_invalid_json.log
  43. 2
    2
      tests/functional/001_records/044_error_on_duplicate_unique_key.log
  44. 1
    1
      tests/functional/001_records/045_error_on_failing_foreign_key_constraint.log
  45. 1
    1
      tests/functional/001_records/046_error_on_non_existing_table.log
  46. 1
    1
      tests/functional/001_records/047_error_on_invalid_path.log
  47. 1
    1
      tests/functional/001_records/048_error_on_invalid_argument_count.log
  48. 1
    1
      tests/functional/001_records/049_error_on_invalid_argument_count.log
  49. 1
    1
      tests/functional/001_records/050_no_error_on_argument_count_one.log
  50. 1
    1
      tests/functional/001_records/051_error_on_invalid_argument_count.log
  51. 2
    2
      tests/functional/001_records/052_edit_user_location.log
  52. 1
    1
      tests/functional/001_records/053_list_user_locations.log
  53. 2
    2
      tests/functional/001_records/054_edit_user_with_id.log
  54. 2
    2
      tests/functional/001_records/055_filter_category_on_null_icon.log
  55. 1
    1
      tests/functional/001_records/056_filter_category_on_not_null_icon.log
  56. 3
    3
      tests/functional/001_records/057_filter_on_and.log
  57. 1
    1
      tests/functional/001_records/058_filter_on_or.log
  58. 1
    1
      tests/functional/001_records/059_filter_on_and_plus_or.log
  59. 1
    1
      tests/functional/001_records/060_filter_on_or_plus_and.log
  60. 1
    1
      tests/functional/001_records/061_get_post_content_with_included_tag_names.log
  61. 2
    2
      tests/functional/001_records/062_read_kunsthandvaerk.log
  62. 1
    1
      tests/functional/001_records/063_list_kunsthandvaerk.log
  63. 1
    1
      tests/functional/001_records/064_add_kunsthandvaerk.log
  64. 1
    1
      tests/functional/001_records/065_edit_kunsthandvaerk.log
  65. 1
    1
      tests/functional/001_records/066_delete_kunsthandvaerk.log
  66. 1
    1
      tests/functional/001_records/067_edit_comment_with_validation.log
  67. 2
    2
      tests/functional/001_records/068_add_comment_with_sanitation.log
  68. 7
    7
      tests/functional/001_records/069_increment_event_visitors.log
  69. 1
    1
      tests/functional/001_records/070_list_invisibles.log
  70. 2
    2
      tests/functional/001_records/071_add_comment_with_invisible_record.log
  71. 1
    1
      tests/functional/001_records/072_list_nopk.log
  72. 6
    6
      tests/functional/001_records/073_multi_tenancy_kunsthandvaerk.log
  73. 2
    2
      tests/functional/001_records/074_custom_kunsthandvaerk.log
  74. 2
    2
      tests/functional/001_records/075_list_tag_usage.log
  75. 1
    1
      tests/functional/001_records/076_list_user_locations_within_geometry.log
  76. 4
    4
      tests/functional/001_records/077_list_posts_with_page_limits.log
  77. 5
    5
      tests/functional/001_records/078_edit_event_with_nullable_bigint.log
  78. 4
    4
      tests/functional/001_records/079_read_post_with_categories.log
  79. 5
    5
      tests/functional/001_records/080_add_barcode_with_ip_address.log
  80. 9
    9
      tests/functional/001_records/081_read_countries_as_geojson.log
  81. 2
    2
      tests/functional/001_records/082_read_users_as_geojson.log
  82. 5
    5
      tests/functional/001_records/083_list_users_as_geojson.log
  83. 5
    5
      tests/functional/001_records/084_update_tags_with_boolean.log
  84. 5
    5
      tests/functional/001_records/085_update_invisble_column_kunsthandvaerk.log
  85. 4
    4
      tests/functional/001_records/086_add_and_update_posts_in_large_batch.log
  86. 13
    13
      tests/functional/001_records/087_read_and_write_posts_as_xml.log
  87. 3
    3
      tests/functional/001_records/088_read_and_write_multiple_posts_as_xml.log
  88. 4
    4
      tests/functional/002_auth/001_jwt_auth.log
  89. 4
    4
      tests/functional/002_auth/002_basic_auth.log
  90. 10
    10
      tests/functional/002_auth/003_db_auth.log
  91. 1
    1
      tests/functional/003_columns/001_get_database.log
  92. 1
    1
      tests/functional/003_columns/002_get_barcodes_table.log
  93. 1
    1
      tests/functional/003_columns/003_get_barcodes_id_column.log
  94. 4
    4
      tests/functional/003_columns/004_update_barcodes_id_column.log
  95. 4
    4
      tests/functional/003_columns/005_update_barcodes_product_id_nullable.log
  96. 9
    9
      tests/functional/003_columns/006_update_events_visitors_pk.log
  97. 4
    4
      tests/functional/003_columns/007_update_barcodes_product_id_fk.log
  98. 4
    4
      tests/functional/003_columns/008_update_barcodes_table.log
  99. 4
    4
      tests/functional/003_columns/009_update_barcodes_hex_type.log
  100. 0
    0
      tests/functional/003_columns/010_create_barcodes_table.log

+ 1
- 1
tests/functional/001_records/001_list_posts.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 134
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started"},{"id":2,"user_id":1,"category_id":2,"content":"It works!"}]}

+ 1
- 1
tests/functional/001_records/002_list_post_columns.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?include=id,content
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 78
7 7
 
8 8
 {"records":[{"id":1,"content":"blog started"},{"id":2,"content":"It works!"}]}

+ 1
- 1
tests/functional/001_records/003_read_post.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/2
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 58
7 7
 
8 8
 {"id":2,"user_id":1,"category_id":2,"content":"It works!"}

+ 1
- 1
tests/functional/001_records/004_read_posts.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/1,2
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 122
7 7
 
8 8
 [{"id":1,"user_id":1,"category_id":1,"content":"blog started"},{"id":2,"user_id":1,"category_id":2,"content":"It works!"}]

+ 1
- 1
tests/functional/001_records/005_read_post_columns.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/2?include=id,content
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 30
7 7
 
8 8
 {"id":2,"content":"It works!"}

+ 2
- 2
tests/functional/001_records/006_add_post.log View File

@@ -1,11 +1,11 @@
1 1
 ===
2 2
 POST /records/posts
3
-Content-Type: application/json
3
+Content-Type: application/json; charset=utf-8
4 4
 
5 5
 {"user_id":1,"category_id":1,"content":"test"}
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 1
10 10
 
11 11
 3

+ 2
- 2
tests/functional/001_records/007_edit_post.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/3
4 4
 {"user_id":1,"category_id":1,"content":"test (edited)"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/posts/3
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 62
17 17
 
18 18
 {"id":3,"user_id":1,"category_id":1,"content":"test (edited)"}

+ 2
- 2
tests/functional/001_records/008_edit_post_columns_missing_field.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/3?include=id,content
4 4
 {"content":"test (edited 2)"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/posts/3
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 64
17 17
 
18 18
 {"id":3,"user_id":1,"category_id":1,"content":"test (edited 2)"}

+ 2
- 2
tests/functional/001_records/009_edit_post_columns_extra_field.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/3?include=id,content
4 4
 {"user_id":2,"content":"test (edited 3)"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/posts/3
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 64
17 17
 
18 18
 {"id":3,"user_id":1,"category_id":1,"content":"test (edited 3)"}

+ 2
- 2
tests/functional/001_records/010_edit_post_with_utf8_content.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/2
4 4
 {"content":"🤗 Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/posts/2
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 192
17 17
 
18 18
 {"id":2,"user_id":1,"category_id":2,"content":"🤗 Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте"}

+ 2
- 2
tests/functional/001_records/011_edit_post_with_utf8_content_with_post.log View File

@@ -5,7 +5,7 @@ Content-Type: application/x-www-form-urlencoded
5 5
 content=%F0%9F%A6%80%E2%82%AC%20Gr%C3%BC%C3%9Fgott%2C%20%D0%92i%D1%82%D0%B0%D1%8E%2C%20dobr%C3%BD%20de%C5%88%2C%20hyv%C3%A4%C3%A4%20p%C3%A4iv%C3%A4%C3%A4%2C%20%E1%83%92%E1%83%90%E1%83%9B%E1%83%90%E1%83%A0%E1%83%AF%E1%83%9D%E1%83%91%E1%83%90%2C%20%CE%93%CE%B5%CE%B9%CE%B1%20%CF%83%CE%B1%CF%82%2C%20g%C3%B3%C3%B0an%20dag%2C%20%D0%B7%D0%B4%D1%80%D0%B0%D0%B2%D1%81%D1%82%D0%B2%D1%83%D0%B9%D1%82%D0%B5
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 1
10 10
 
11 11
 1
@@ -13,7 +13,7 @@ Content-Length: 1
13 13
 GET /records/posts/2
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 195
18 18
 
19 19
 {"id":2,"user_id":1,"category_id":2,"content":"🦀€ Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте"}

+ 2
- 2
tests/functional/001_records/012_delete_post.log View File

@@ -2,7 +2,7 @@
2 2
 DELETE /records/posts/3
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 1
7 7
 
8 8
 1
@@ -10,7 +10,7 @@ Content-Length: 1
10 10
 GET /records/posts/3
11 11
 ===
12 12
 404
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 46
15 15
 
16 16
 {"code":1003,"message":"Record '3' not found"}

+ 1
- 1
tests/functional/001_records/013_add_post_with_post.log View File

@@ -4,7 +4,7 @@ POST /records/posts
4 4
 user_id=1&category_id=1&content=test
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 4

+ 2
- 2
tests/functional/001_records/014_edit_post_with_post.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/4
4 4
 user_id=1&category_id=1&content=test+(edited)
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/posts/4
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 62
17 17
 
18 18
 {"id":4,"user_id":1,"category_id":1,"content":"test (edited)"}

+ 2
- 2
tests/functional/001_records/015_delete_post_ignore_columns.log View File

@@ -2,7 +2,7 @@
2 2
 DELETE /records/posts/4?include=id,content
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 1
7 7
 
8 8
 1
@@ -10,7 +10,7 @@ Content-Length: 1
10 10
 GET /records/posts/4
11 11
 ===
12 12
 404
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 46
15 15
 
16 16
 {"code":1003,"message":"Record '4' not found"}

+ 11
- 11
tests/functional/001_records/016_list_with_paginate.log View File

@@ -4,7 +4,7 @@ POST /records/posts
4 4
 {"user_id":1,"category_id":1,"content":"#1"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 5
@@ -14,7 +14,7 @@ POST /records/posts
14 14
 {"user_id":1,"category_id":1,"content":"#2"}
15 15
 ===
16 16
 200
17
-Content-Type: application/json
17
+Content-Type: application/json; charset=utf-8
18 18
 Content-Length: 1
19 19
 
20 20
 6
@@ -24,7 +24,7 @@ POST /records/posts
24 24
 {"user_id":1,"category_id":1,"content":"#3"}
25 25
 ===
26 26
 200
27
-Content-Type: application/json
27
+Content-Type: application/json; charset=utf-8
28 28
 Content-Length: 1
29 29
 
30 30
 7
@@ -34,7 +34,7 @@ POST /records/posts
34 34
 {"user_id":1,"category_id":1,"content":"#4"}
35 35
 ===
36 36
 200
37
-Content-Type: application/json
37
+Content-Type: application/json; charset=utf-8
38 38
 Content-Length: 1
39 39
 
40 40
 8
@@ -44,7 +44,7 @@ POST /records/posts
44 44
 {"user_id":1,"category_id":1,"content":"#5"}
45 45
 ===
46 46
 200
47
-Content-Type: application/json
47
+Content-Type: application/json; charset=utf-8
48 48
 Content-Length: 1
49 49
 
50 50
 9
@@ -54,7 +54,7 @@ POST /records/posts
54 54
 {"user_id":1,"category_id":1,"content":"#6"}
55 55
 ===
56 56
 200
57
-Content-Type: application/json
57
+Content-Type: application/json; charset=utf-8
58 58
 Content-Length: 2
59 59
 
60 60
 10
@@ -64,7 +64,7 @@ POST /records/posts
64 64
 {"user_id":1,"category_id":1,"content":"#7"}
65 65
 ===
66 66
 200
67
-Content-Type: application/json
67
+Content-Type: application/json; charset=utf-8
68 68
 Content-Length: 2
69 69
 
70 70
 11
@@ -74,7 +74,7 @@ POST /records/posts
74 74
 {"user_id":1,"category_id":1,"content":"#8"}
75 75
 ===
76 76
 200
77
-Content-Type: application/json
77
+Content-Type: application/json; charset=utf-8
78 78
 Content-Length: 2
79 79
 
80 80
 12
@@ -84,7 +84,7 @@ POST /records/posts
84 84
 {"user_id":1,"category_id":1,"content":"#9"}
85 85
 ===
86 86
 200
87
-Content-Type: application/json
87
+Content-Type: application/json; charset=utf-8
88 88
 Content-Length: 2
89 89
 
90 90
 13
@@ -94,7 +94,7 @@ POST /records/posts
94 94
 {"user_id":1,"category_id":1,"content":"#10"}
95 95
 ===
96 96
 200
97
-Content-Type: application/json
97
+Content-Type: application/json; charset=utf-8
98 98
 Content-Length: 2
99 99
 
100 100
 14
@@ -102,7 +102,7 @@ Content-Length: 2
102 102
 GET /records/posts?page=2,2&order=id
103 103
 ===
104 104
 200
105
-Content-Type: application/json
105
+Content-Type: application/json; charset=utf-8
106 106
 Content-Length: 130
107 107
 
108 108
 {"records":[{"id":5,"user_id":1,"category_id":1,"content":"#1"},{"id":6,"user_id":1,"category_id":1,"content":"#2"}],"results":12}

+ 2
- 2
tests/functional/001_records/017_edit_post_primary_key.log View File

@@ -1,11 +1,11 @@
1 1
 ===
2 2
 PUT /records/posts/2
3
-Content-Type: application/json
3
+Content-Type: application/json; charset=utf-8
4 4
 
5 5
 {"id":1}
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 1
10 10
 
11 11
 0

+ 2
- 2
tests/functional/001_records/018_add_post_missing_field.log View File

@@ -1,11 +1,11 @@
1 1
 ===
2 2
 POST /records/posts
3
-Content-Type: application/json
3
+Content-Type: application/json; charset=utf-8
4 4
 
5 5
 {"category_id":1,"content":"test"}
6 6
 ===
7 7
 409
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 50
10 10
 
11 11
 {"code":1010,"message":"Data integrity violation"}

+ 1
- 1
tests/functional/001_records/019_list_with_paginate_in_multiple_order.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?page=1,2&order=category_id,asc&order=id,desc
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 133
7 7
 
8 8
 {"records":[{"id":14,"user_id":1,"category_id":1,"content":"#10"},{"id":13,"user_id":1,"category_id":1,"content":"#9"}],"results":12}

+ 1
- 1
tests/functional/001_records/020_list_with_paginate_in_descending_order.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?page=2,2&order=id,desc
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 132
7 7
 
8 8
 {"records":[{"id":12,"user_id":1,"category_id":1,"content":"#8"},{"id":11,"user_id":1,"category_id":1,"content":"#7"}],"results":12}

+ 1
- 1
tests/functional/001_records/021_list_with_size.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?order=id&size=1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 75
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started"}]}

+ 1
- 1
tests/functional/001_records/022_list_with_zero_page_size.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?order=id&page=1,0
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 27
7 7
 
8 8
 {"records":[],"results":12}

+ 1
- 1
tests/functional/001_records/023_list_with_zero_size.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?order=id&size=0
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 14
7 7
 
8 8
 {"records":[]}

+ 1
- 1
tests/functional/001_records/024_list_with_paginate_last_page.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?page=3,5&order=id
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 133
7 7
 
8 8
 {"records":[{"id":13,"user_id":1,"category_id":1,"content":"#9"},{"id":14,"user_id":1,"category_id":1,"content":"#10"}],"results":12}

+ 1
- 1
tests/functional/001_records/025_list_example_from_readme_full_record.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 75
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started"}]}

+ 1
- 1
tests/functional/001_records/026_list_example_from_readme_with_exclude.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?exclude=id&filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 68
7 7
 
8 8
 {"records":[{"user_id":1,"category_id":1,"content":"blog started"}]}

+ 1
- 1
tests/functional/001_records/027_list_example_from_readme_users_only.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?join=users&filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 136
7 7
 
8 8
 {"records":[{"id":1,"user_id":{"id":1,"username":"user1","password":"pass1","location":null},"category_id":1,"content":"blog started"}]}

+ 1
- 1
tests/functional/001_records/028_read_example_from_readme_users_only.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/1?join=users
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 122
7 7
 
8 8
 {"id":1,"user_id":{"id":1,"username":"user1","password":"pass1","location":null},"category_id":1,"content":"blog started"}

+ 1
- 1
tests/functional/001_records/029_list_example_from_readme_comments_only.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?join=comments&filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 202
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started","comments":[{"id":1,"post_id":1,"message":"great","category_id":3},{"id":2,"post_id":1,"message":"fantastic","category_id":3}]}]}

+ 1
- 1
tests/functional/001_records/030_list_example_from_readme_tags_only.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?join=tags&filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 177
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started","tags":[{"id":1,"name":"funny","is_important":false},{"id":2,"name":"important","is_important":true}]}]}

+ 1
- 1
tests/functional/001_records/031_list_example_from_readme_tags_with_join_path.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?join=categories&join=post_tags,tags&join=comments&filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 410
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":{"id":1,"name":"announcement","icon":null},"content":"blog started","post_tags":[{"id":1,"post_id":1,"tag_id":{"id":1,"name":"funny","is_important":false}},{"id":2,"post_id":1,"tag_id":{"id":2,"name":"important","is_important":true}}],"comments":[{"id":1,"post_id":1,"message":"great","category_id":3},{"id":2,"post_id":1,"message":"fantastic","category_id":3}]}]}

+ 1
- 1
tests/functional/001_records/032_list_example_from_readme.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?join=categories&join=tags&join=comments&filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 345
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":{"id":1,"name":"announcement","icon":null},"content":"blog started","tags":[{"id":1,"name":"funny","is_important":false},{"id":2,"name":"important","is_important":true}],"comments":[{"id":1,"post_id":1,"message":"great","category_id":3},{"id":2,"post_id":1,"message":"fantastic","category_id":3}]}]}

+ 1
- 1
tests/functional/001_records/033_list_example_from_readme_tag_name_only.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?include=tags.name&join=categories&join=post_tags,tags&join=comments&filter=id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 198
7 7
 
8 8
 {"records":[{"id":1,"category_id":{"id":1},"post_tags":[{"post_id":1,"tag_id":{"id":1,"name":"funny"}},{"post_id":1,"tag_id":{"id":2,"name":"important"}}],"comments":[{"post_id":1},{"post_id":1}]}]}

+ 1
- 1
tests/functional/001_records/034_list_example_from_readme_with_transform_with_exclude.log View File

@@ -3,7 +3,7 @@ GET /records/posts?join=categories&join=post_tags,tags&join=comments&exclude=com
3 3
 
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 338
8 8
 
9 9
 {"records":[{"id":1,"user_id":1,"category_id":{"id":1,"name":"announcement","icon":null},"content":"blog started","post_tags":[{"id":1,"post_id":1,"tag_id":{"id":1,"name":"funny","is_important":false}},{"id":2,"post_id":1,"tag_id":{"id":2,"name":"important","is_important":true}}],"comments":[{"id":1,"post_id":1},{"id":2,"post_id":1}]}]}

+ 2
- 2
tests/functional/001_records/035_edit_category_with_binary_content.log View File

@@ -4,7 +4,7 @@ PUT /records/categories/2
4 4
 {"icon":"4oKsIABhYmMACg1cYgA"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/categories/2
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 55
17 17
 
18 18
 {"id":2,"name":"article","icon":"4oKsIABhYmMACg1cYgA="}

+ 4
- 4
tests/functional/001_records/036_edit_category_with_null.log View File

@@ -4,7 +4,7 @@ PUT /records/categories/2
4 4
 {"icon":""}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/categories/2
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 35
17 17
 
18 18
 {"id":2,"name":"article","icon":""}
@@ -22,7 +22,7 @@ PUT /records/categories/2
22 22
 {"icon":null}
23 23
 ===
24 24
 200
25
-Content-Type: application/json
25
+Content-Type: application/json; charset=utf-8
26 26
 Content-Length: 1
27 27
 
28 28
 1
@@ -30,7 +30,7 @@ Content-Length: 1
30 30
 GET /records/categories/2
31 31
 ===
32 32
 200
33
-Content-Type: application/json
33
+Content-Type: application/json; charset=utf-8
34 34
 Content-Length: 37
35 35
 
36 36
 {"id":2,"name":"article","icon":null}

+ 2
- 2
tests/functional/001_records/037_edit_category_with_binary_content_with_post.log View File

@@ -5,7 +5,7 @@ Content-Type: application/x-www-form-urlencoded
5 5
 icon=4oKsIABhYmMACg1cYgA
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 1
10 10
 
11 11
 1
@@ -13,7 +13,7 @@ Content-Length: 1
13 13
 GET /records/categories/2
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 55
18 18
 
19 19
 {"id":2,"name":"article","icon":"4oKsIABhYmMACg1cYgA="}

+ 1
- 1
tests/functional/001_records/038_list_categories_with_binary_content.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/categories?filter=id,le,2
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 112
7 7
 
8 8
 {"records":[{"id":1,"name":"announcement","icon":null},{"id":2,"name":"article","icon":"4oKsIABhYmMACg1cYgA="}]}

+ 2
- 2
tests/functional/001_records/039_edit_category_with_null_with_post.log View File

@@ -5,7 +5,7 @@ Content-Type: application/x-www-form-urlencoded
5 5
 icon__is_null
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 1
10 10
 
11 11
 1
@@ -13,7 +13,7 @@ Content-Length: 1
13 13
 GET /records/categories/2
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 37
18 18
 
19 19
 {"id":2,"name":"article","icon":null}

+ 1
- 1
tests/functional/001_records/040_add_post_failure.log View File

@@ -4,7 +4,7 @@ POST /records/posts
4 4
 ["truncat
5 5
 ===
6 6
 422
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 50
9 9
 
10 10
 {"code":1008,"message":"Cannot read HTTP message"}

+ 1
- 1
tests/functional/001_records/042_cors_headers.log View File

@@ -3,7 +3,7 @@ GET /records/posts/1?include=id
3 3
 Origin: http://example.com
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 8
8 8
 Access-Control-Allow-Credentials: true
9 9
 Access-Control-Allow-Origin: http://example.com

+ 2
- 2
tests/functional/001_records/043_error_on_invalid_json.log View File

@@ -1,11 +1,11 @@
1 1
 ===
2 2
 POST /records/posts
3
-Content-Type: application/json
3
+Content-Type: application/json; charset=utf-8
4 4
 
5 5
 {"}
6 6
 ===
7 7
 422
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 50
10 10
 
11 11
 {"code":1008,"message":"Cannot read HTTP message"}

+ 2
- 2
tests/functional/001_records/044_error_on_duplicate_unique_key.log View File

@@ -1,11 +1,11 @@
1 1
 ===
2 2
 POST /records/kunsthåndværk
3
-Content-Type: application/json
3
+Content-Type: application/json; charset=utf-8
4 4
 
5 5
 {"id":"23587850-8738-437e-8c41-466627ca6094","Umlauts ä_ö_ü-COUNT":1}
6 6
 ===
7 7
 409
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 49
10 10
 
11 11
 {"code":1009,"message":"Duplicate key exception"}

+ 1
- 1
tests/functional/001_records/045_error_on_failing_foreign_key_constraint.log View File

@@ -4,7 +4,7 @@ POST /records/posts
4 4
 {"user_id":3,"category_id":1,"content":"fk constraint"}
5 5
 ===
6 6
 409
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 50
9 9
 
10 10
 {"code":1010,"message":"Data integrity violation"}

+ 1
- 1
tests/functional/001_records/046_error_on_non_existing_table.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/postzzz
3 3
 ===
4 4
 404
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 51
7 7
 
8 8
 {"code":1001,"message":"Table 'postzzz' not found"}

+ 1
- 1
tests/functional/001_records/047_error_on_invalid_path.log View File

@@ -2,7 +2,7 @@
2 2
 GET /postzzz
3 3
 ===
4 4
 404
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 53
7 7
 
8 8
 {"code":1000,"message":"Route '\/postzzz' not found"}

+ 1
- 1
tests/functional/001_records/048_error_on_invalid_argument_count.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/1,2
4 4
 {"id":1,"user_id":1,"category_id":1,"content":"blog started"}
5 5
 ===
6 6
 422
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 58
9 9
 
10 10
 {"code":1002,"message":"Argument count mismatch in '1,2'"}

+ 1
- 1
tests/functional/001_records/049_error_on_invalid_argument_count.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/1,2
4 4
 [{"id":1,"user_id":1,"category_id":1,"content":"blog started"}]
5 5
 ===
6 6
 422
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 58
9 9
 
10 10
 {"code":1002,"message":"Argument count mismatch in '1,2'"}

+ 1
- 1
tests/functional/001_records/050_no_error_on_argument_count_one.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/1
4 4
 [{"id":1,"user_id":1,"category_id":1,"content":"blog started"}]
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 3
9 9
 
10 10
 [1]

+ 1
- 1
tests/functional/001_records/051_error_on_invalid_argument_count.log View File

@@ -4,7 +4,7 @@ PUT /records/posts/1
4 4
 [{"id":1},{"id":2}]
5 5
 ===
6 6
 422
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 56
9 9
 
10 10
 {"code":1002,"message":"Argument count mismatch in '1'"}

+ 2
- 2
tests/functional/001_records/052_edit_user_location.log View File

@@ -4,7 +4,7 @@ PUT /records/users/1
4 4
 {"location":"POINT(30 20)"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/users/1?include=id,location
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 34
17 17
 
18 18
 {"id":1,"location":"POINT(30 20)"}

+ 1
- 1
tests/functional/001_records/053_list_user_locations.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/users?include=id,location
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 73
7 7
 
8 8
 {"records":[{"id":1,"location":"POINT(30 20)"},{"id":2,"location":null}]}

+ 2
- 2
tests/functional/001_records/054_edit_user_with_id.log View File

@@ -4,7 +4,7 @@ PUT /records/users/1
4 4
 {"id":2,"password":"testtest2"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/users/1?include=id,username,password
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 50
17 17
 
18 18
 {"id":1,"username":"user1","password":"testtest2"}

+ 2
- 2
tests/functional/001_records/055_filter_category_on_null_icon.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/categories?filter=icon,is,null&filter=id,le,2
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 94
7 7
 
8 8
 {"records":[{"id":1,"name":"announcement","icon":null},{"id":2,"name":"article","icon":null}]}
@@ -10,7 +10,7 @@ Content-Length: 94
10 10
 GET /records/categories?filter=icon,is&filter=id,le,2
11 11
 ===
12 12
 200
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 94
15 15
 
16 16
 {"records":[{"id":1,"name":"announcement","icon":null},{"id":2,"name":"article","icon":null}]}

+ 1
- 1
tests/functional/001_records/056_filter_category_on_not_null_icon.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/categories?filter=icon,nis,null
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 14
7 7
 
8 8
 {"records":[]}

+ 3
- 3
tests/functional/001_records/057_filter_on_and.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?include=id&filter=id,ge,1&filter=id,le,2
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 31
7 7
 
8 8
 {"records":[{"id":1},{"id":2}]}
@@ -10,7 +10,7 @@ Content-Length: 31
10 10
 GET /records/posts?include=id&filter[]=id,ge,1&filter[]=id,le,2
11 11
 ===
12 12
 200
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 31
15 15
 
16 16
 {"records":[{"id":1},{"id":2}]}
@@ -18,7 +18,7 @@ Content-Length: 31
18 18
 GET /records/posts?include=id&filter[0]=id,ge,1&filter[1]=id,le,2
19 19
 ===
20 20
 200
21
-Content-Type: application/json
21
+Content-Type: application/json; charset=utf-8
22 22
 Content-Length: 31
23 23
 
24 24
 {"records":[{"id":1},{"id":2}]}

+ 1
- 1
tests/functional/001_records/058_filter_on_or.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?include=id&filter1=id,eq,1&filter2=id,eq,2
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 31
7 7
 
8 8
 {"records":[{"id":1},{"id":2}]}

+ 1
- 1
tests/functional/001_records/059_filter_on_and_plus_or.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?include=id&filter1=id,eq,1&filter2=id,gt,1&filter2=id,lt,3
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 31
7 7
 
8 8
 {"records":[{"id":1},{"id":2}]}

+ 1
- 1
tests/functional/001_records/060_filter_on_or_plus_and.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?include=id&filter1=id,eq,1&filter2=id,eq,2&filter=user_id,eq,1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 31
7 7
 
8 8
 {"records":[{"id":1},{"id":2}]}

+ 1
- 1
tests/functional/001_records/061_get_post_content_with_included_tag_names.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/1?include=content,tags.name&join=tags
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 94
7 7
 
8 8
 {"id":1,"content":"blog started","tags":[{"id":1,"name":"funny"},{"id":2,"name":"important"}]}

+ 2
- 2
tests/functional/001_records/062_read_kunsthandvaerk.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/kunsthåndværk/e42c77c6-06a4-4502-816c-d112c7142e6d
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 138
7 7
 
8 8
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d","Umlauts ä_ö_ü-COUNT":1,"user_id":1,"invisible_id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
@@ -10,7 +10,7 @@ Content-Length: 138
10 10
 GET /records/kunsthåndværk/e42c77c6-06a4-4502-816c-d112c7142e6d?join=invisibles
11 11
 ===
12 12
 200
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 138
15 15
 
16 16
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d","Umlauts ä_ö_ü-COUNT":1,"user_id":1,"invisible_id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}

+ 1
- 1
tests/functional/001_records/063_list_kunsthandvaerk.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/kunsthåndværk
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 152
7 7
 
8 8
 {"records":[{"id":"e42c77c6-06a4-4502-816c-d112c7142e6d","Umlauts ä_ö_ü-COUNT":1,"user_id":1,"invisible_id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}]}

+ 1
- 1
tests/functional/001_records/064_add_kunsthandvaerk.log View File

@@ -4,7 +4,7 @@ POST /records/kunsthåndværk
4 4
 {"id":"34451583-a747-4417-bdf0-bec7a5eacffa","Umlauts ä_ö_ü-COUNT":3}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 38
9 9
 
10 10
 "34451583-a747-4417-bdf0-bec7a5eacffa"

+ 1
- 1
tests/functional/001_records/065_edit_kunsthandvaerk.log View File

@@ -4,7 +4,7 @@ PUT /records/kunsthåndværk/34451583-a747-4417-bdf0-bec7a5eacffa
4 4
 {"Umlauts ä_ö_ü-COUNT":3}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 1

+ 1
- 1
tests/functional/001_records/066_delete_kunsthandvaerk.log View File

@@ -2,7 +2,7 @@
2 2
 DELETE /records/kunsthåndværk/34451583-a747-4417-bdf0-bec7a5eacffa
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 1
7 7
 
8 8
 1

+ 1
- 1
tests/functional/001_records/067_edit_comment_with_validation.log View File

@@ -4,7 +4,7 @@ PUT /records/comments/4
4 4
 {"post_id":"two"}
5 5
 ===
6 6
 422
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 104
9 9
 
10 10
 {"code":1013,"message":"Input validation failed for 'comments'","details":{"post_id":"must be numeric"}}

+ 2
- 2
tests/functional/001_records/068_add_comment_with_sanitation.log View File

@@ -4,7 +4,7 @@ POST /records/comments
4 4
 {"user_id":1,"post_id":2,"message":"<h1>Title</h1> <p>Body</p>","category_id":3}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 5
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/comments/5
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 59
17 17
 
18 18
 {"id":5,"post_id":2,"message":"Title Body","category_id":3}

+ 7
- 7
tests/functional/001_records/069_increment_event_visitors.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/events/1?include=visitors
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 14
7 7
 
8 8
 {"visitors":0}
@@ -12,7 +12,7 @@ PATCH /records/events/1
12 12
 {"visitors":1}
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 1
17 17
 
18 18
 1
@@ -22,7 +22,7 @@ PATCH /records/events/1
22 22
 {"visitors":1}
23 23
 ===
24 24
 200
25
-Content-Type: application/json
25
+Content-Type: application/json; charset=utf-8
26 26
 Content-Length: 1
27 27
 
28 28
 1
@@ -32,7 +32,7 @@ PATCH /records/events/1,1
32 32
 [{"visitors":1},{"visitors":1}]
33 33
 ===
34 34
 200
35
-Content-Type: application/json
35
+Content-Type: application/json; charset=utf-8
36 36
 Content-Length: 5
37 37
 
38 38
 [1,1]
@@ -40,7 +40,7 @@ Content-Length: 5
40 40
 GET /records/events/1?include=visitors
41 41
 ===
42 42
 200
43
-Content-Type: application/json
43
+Content-Type: application/json; charset=utf-8
44 44
 Content-Length: 14
45 45
 
46 46
 {"visitors":4}
@@ -50,7 +50,7 @@ PATCH /records/events/1
50 50
 {"visitors":-4}
51 51
 ===
52 52
 200
53
-Content-Type: application/json
53
+Content-Type: application/json; charset=utf-8
54 54
 Content-Length: 1
55 55
 
56 56
 1
@@ -58,7 +58,7 @@ Content-Length: 1
58 58
 GET /records/events/1?include=visitors
59 59
 ===
60 60
 200
61
-Content-Type: application/json
61
+Content-Type: application/json; charset=utf-8
62 62
 Content-Length: 14
63 63
 
64 64
 {"visitors":0}

+ 1
- 1
tests/functional/001_records/070_list_invisibles.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/invisibles
3 3
 ===
4 4
 404
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 54
7 7
 
8 8
 {"code":1001,"message":"Table 'invisibles' not found"}

+ 2
- 2
tests/functional/001_records/071_add_comment_with_invisible_record.log View File

@@ -4,7 +4,7 @@ POST /records/comments
4 4
 {"user_id":1,"post_id":2,"message":"invisible","category_id":3}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 6
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/comments/6
13 13
 ===
14 14
 404
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 46
17 17
 
18 18
 {"code":1003,"message":"Record '6' not found"}

+ 1
- 1
tests/functional/001_records/072_list_nopk.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/nopk
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 59
7 7
 
8 8
 {"records":[{"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}]}

+ 6
- 6
tests/functional/001_records/073_multi_tenancy_kunsthandvaerk.log View File

@@ -4,7 +4,7 @@ POST /records/kunsthåndværk
4 4
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":4,"user_id":2}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 38
9 9
 
10 10
 "b55decba-8eb5-436b-af3e-148f7b4eacda"
@@ -12,7 +12,7 @@ Content-Length: 38
12 12
 GET /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 104
17 17
 
18 18
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":4,"user_id":1,"invisible_id":null}
@@ -22,7 +22,7 @@ PUT /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
22 22
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":4,"user_id":2}
23 23
 ===
24 24
 200
25
-Content-Type: application/json
25
+Content-Type: application/json; charset=utf-8
26 26
 Content-Length: 1
27 27
 
28 28
 1
@@ -30,7 +30,7 @@ Content-Length: 1
30 30
 GET /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
31 31
 ===
32 32
 200
33
-Content-Type: application/json
33
+Content-Type: application/json; charset=utf-8
34 34
 Content-Length: 104
35 35
 
36 36
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":4,"user_id":1,"invisible_id":null}
@@ -38,7 +38,7 @@ Content-Length: 104
38 38
 DELETE /records/kunsthåndværk/e31ecfe6-591f-4660-9fbd-1a232083037f
39 39
 ===
40 40
 200
41
-Content-Type: application/json
41
+Content-Type: application/json; charset=utf-8
42 42
 Content-Length: 1
43 43
 
44 44
 0
@@ -46,7 +46,7 @@ Content-Length: 1
46 46
 DELETE /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
47 47
 ===
48 48
 200
49
-Content-Type: application/json
49
+Content-Type: application/json; charset=utf-8
50 50
 Content-Length: 1
51 51
 
52 52
 1

+ 2
- 2
tests/functional/001_records/074_custom_kunsthandvaerk.log View File

@@ -4,7 +4,7 @@ PATCH /records/kunsthåndværk/e42c77c6-06a4-4502-816c-d112c7142e6d
4 4
 {"Umlauts ä_ö_ü-COUNT":10}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 X-Time-Taken: 0.003
10 10
 
@@ -15,7 +15,7 @@ PATCH /records/kunsthåndværk/e42c77c6-06a4-4502-816c-d112c7142e6d
15 15
 {"Umlauts ä_ö_ü-COUNT":-10}
16 16
 ===
17 17
 200
18
-Content-Type: application/json
18
+Content-Type: application/json; charset=utf-8
19 19
 Content-Length: 1
20 20
 X-Time-Taken: 0.003
21 21
 

+ 2
- 2
tests/functional/001_records/075_list_tag_usage.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/tag_usage
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 71
7 7
 
8 8
 {"records":[{"name":"funny","count":2},{"name":"important","count":2}]}
@@ -10,7 +10,7 @@ Content-Length: 71
10 10
 GET /records/tag_usage/1
11 11
 ===
12 12
 405
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 56
15 15
 
16 16
 {"code":1015,"message":"Operation 'read' not supported"}

+ 1
- 1
tests/functional/001_records/076_list_user_locations_within_geometry.log View File

@@ -3,7 +3,7 @@ skip-for-sqlite: no support for geometry functions (spatialite)
3 3
 GET /records/users?include=id,location&filter=location,swi,POLYGON((10 10,10 50,50 50,50 10,10 10))
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 48
8 8
 
9 9
 {"records":[{"id":1,"location":"POINT(30 20)"}]}

+ 4
- 4
tests/functional/001_records/077_list_posts_with_page_limits.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts?size=10
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 690
7 7
 
8 8
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started"},{"id":2,"user_id":1,"category_id":2,"content":"🦀€ Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте"},{"id":5,"user_id":1,"category_id":1,"content":"#1"},{"id":6,"user_id":1,"category_id":1,"content":"#2"},{"id":7,"user_id":1,"category_id":1,"content":"#3"},{"id":8,"user_id":1,"category_id":1,"content":"#4"},{"id":9,"user_id":1,"category_id":1,"content":"#5"},{"id":10,"user_id":1,"category_id":1,"content":"#6"},{"id":11,"user_id":1,"category_id":1,"content":"#7"},{"id":12,"user_id":1,"category_id":1,"content":"#8"}]}
@@ -10,7 +10,7 @@ Content-Length: 690
10 10
 GET /records/posts
11 11
 ===
12 12
 200
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 690
15 15
 
16 16
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started"},{"id":2,"user_id":1,"category_id":2,"content":"🦀€ Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте"},{"id":5,"user_id":1,"category_id":1,"content":"#1"},{"id":6,"user_id":1,"category_id":1,"content":"#2"},{"id":7,"user_id":1,"category_id":1,"content":"#3"},{"id":8,"user_id":1,"category_id":1,"content":"#4"},{"id":9,"user_id":1,"category_id":1,"content":"#5"},{"id":10,"user_id":1,"category_id":1,"content":"#6"},{"id":11,"user_id":1,"category_id":1,"content":"#7"},{"id":12,"user_id":1,"category_id":1,"content":"#8"}]}
@@ -18,7 +18,7 @@ Content-Length: 690
18 18
 GET /records/posts?page=5,1
19 19
 ===
20 20
 200
21
-Content-Type: application/json
21
+Content-Type: application/json; charset=utf-8
22 22
 Content-Length: 78
23 23
 
24 24
 {"records":[{"id":7,"user_id":1,"category_id":1,"content":"#3"}],"results":12}
@@ -26,7 +26,7 @@ Content-Length: 78
26 26
 GET /records/posts?page=6,1
27 27
 ===
28 28
 403
29
-Content-Type: application/json
29
+Content-Type: application/json; charset=utf-8
30 30
 Content-Length: 46
31 31
 
32 32
 {"code":1019,"message":"Pagination forbidden"}

+ 5
- 5
tests/functional/001_records/078_edit_event_with_nullable_bigint.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/events/1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 70
7 7
 
8 8
 {"id":1,"name":"Launch","datetime":"2016-01-01 13:01:01","visitors":0}
@@ -12,7 +12,7 @@ PUT /records/events/1
12 12
 {"datetime":null,"visitors":null}
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 1
17 17
 
18 18
 1
@@ -20,7 +20,7 @@ Content-Length: 1
20 20
 GET /records/events/1
21 21
 ===
22 22
 200
23
-Content-Type: application/json
23
+Content-Type: application/json; charset=utf-8
24 24
 Content-Length: 56
25 25
 
26 26
 {"id":1,"name":"Launch","datetime":null,"visitors":null}
@@ -30,7 +30,7 @@ PUT /records/events/1
30 30
 {"datetime":"2016-01-01 13:01:01","visitors":0}
31 31
 ===
32 32
 200
33
-Content-Type: application/json
33
+Content-Type: application/json; charset=utf-8
34 34
 Content-Length: 1
35 35
 
36 36
 1
@@ -38,7 +38,7 @@ Content-Length: 1
38 38
 GET /records/events/1
39 39
 ===
40 40
 200
41
-Content-Type: application/json
41
+Content-Type: application/json; charset=utf-8
42 42
 Content-Length: 70
43 43
 
44 44
 {"id":1,"name":"Launch","datetime":"2016-01-01 13:01:01","visitors":0}

+ 4
- 4
tests/functional/001_records/079_read_post_with_categories.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/1?join=tags&include=tags.name
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 69
7 7
 
8 8
 {"id":1,"tags":[{"id":1,"name":"funny"},{"id":2,"name":"important"}]}
@@ -10,7 +10,7 @@ Content-Length: 69
10 10
 GET /records/posts/1?join=categories&include=category_id,categories.name
11 11
 ===
12 12
 200
13
-Content-Type: application/json
13
+Content-Type: application/json; charset=utf-8
14 14
 Content-Length: 53
15 15
 
16 16
 {"id":1,"category_id":{"id":1,"name":"announcement"}}
@@ -18,7 +18,7 @@ Content-Length: 53
18 18
 GET /records/posts/1?join=comments,categories&include=category_id,categories.name
19 19
 ===
20 20
 200
21
-Content-Type: application/json
21
+Content-Type: application/json; charset=utf-8
22 22
 Content-Length: 145
23 23
 
24 24
 {"id":1,"category_id":1,"comments":[{"post_id":1,"category_id":{"id":3,"name":"comment"}},{"post_id":1,"category_id":{"id":3,"name":"comment"}}]}
@@ -26,7 +26,7 @@ Content-Length: 145
26 26
 GET /records/posts/1?join=categories&join=comments,categories&include=category_id,categories.name
27 27
 ===
28 28
 200
29
-Content-Type: application/json
29
+Content-Type: application/json; charset=utf-8
30 30
 Content-Length: 174
31 31
 
32 32
 {"id":1,"category_id":{"id":1,"name":"announcement"},"comments":[{"post_id":1,"category_id":{"id":3,"name":"comment"}},{"post_id":1,"category_id":{"id":3,"name":"comment"}}]}

+ 5
- 5
tests/functional/001_records/080_add_barcode_with_ip_address.log View File

@@ -4,7 +4,7 @@ POST /records/barcodes
4 4
 {"product_id":1,"hex":"","bin":""}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 1
9 9
 
10 10
 2
@@ -12,7 +12,7 @@ Content-Length: 1
12 12
 GET /records/barcodes/2
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 64
17 17
 
18 18
 {"id":2,"product_id":1,"hex":"","bin":"","ip_address":"TEST_IP"}
@@ -22,7 +22,7 @@ PUT /records/barcodes/2
22 22
 {"ip_address":"FAKE_IP"}
23 23
 ===
24 24
 200
25
-Content-Type: application/json
25
+Content-Type: application/json; charset=utf-8
26 26
 Content-Length: 1
27 27
 
28 28
 0
@@ -30,7 +30,7 @@ Content-Length: 1
30 30
 GET /records/barcodes/2
31 31
 ===
32 32
 200
33
-Content-Type: application/json
33
+Content-Type: application/json; charset=utf-8
34 34
 Content-Length: 64
35 35
 
36 36
 {"id":2,"product_id":1,"hex":"","bin":"","ip_address":"TEST_IP"}
@@ -38,7 +38,7 @@ Content-Length: 64
38 38
 DELETE /records/barcodes/2
39 39
 ===
40 40
 200
41
-Content-Type: application/json
41
+Content-Type: application/json; charset=utf-8
42 42
 Content-Length: 1
43 43
 
44 44
 1

+ 9
- 9
tests/functional/001_records/081_read_countries_as_geojson.log View File

@@ -3,7 +3,7 @@ skip-for-sqlite: no support for geometry functions (spatialite)
3 3
 GET /geojson/countries/3
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 105
8 8
 
9 9
 {"type":"Feature","id":3,"properties":{"name":"Point"},"geometry":{"type":"Point","coordinates":[30,10]}}
@@ -11,7 +11,7 @@ Content-Length: 105
11 11
 GET /geojson/countries/4
12 12
 ===
13 13
 200
14
-Content-Type: application/json
14
+Content-Type: application/json; charset=utf-8
15 15
 Content-Length: 127
16 16
 
17 17
 {"type":"Feature","id":4,"properties":{"name":"Line"},"geometry":{"type":"LineString","coordinates":[[30,10],[10,30],[40,40]]}}
@@ -19,7 +19,7 @@ Content-Length: 127
19 19
 GET /geojson/countries/5
20 20
 ===
21 21
 200
22
-Content-Type: application/json
22
+Content-Type: application/json; charset=utf-8
23 23
 Content-Length: 143
24 24
 
25 25
 {"type":"Feature","id":5,"properties":{"name":"Poly1"},"geometry":{"type":"Polygon","coordinates":[[[30,10],[40,40],[20,40],[10,20],[30,10]]]}}
@@ -27,7 +27,7 @@ Content-Length: 143
27 27
 GET /geojson/countries/6
28 28
 ===
29 29
 200
30
-Content-Type: application/json
30
+Content-Type: application/json; charset=utf-8
31 31
 Content-Length: 177
32 32
 
33 33
 {"type":"Feature","id":6,"properties":{"name":"Poly2"},"geometry":{"type":"Polygon","coordinates":[[[35,10],[45,45],[15,40],[10,20],[35,10]],[[20,30],[35,35],[30,20],[20,30]]]}}
@@ -35,7 +35,7 @@ Content-Length: 177
35 35
 GET /geojson/countries/7
36 36
 ===
37 37
 200
38
-Content-Type: application/json
38
+Content-Type: application/json; charset=utf-8
39 39
 Content-Length: 137
40 40
 
41 41
 {"type":"Feature","id":7,"properties":{"name":"Mpoint"},"geometry":{"type":"MultiPoint","coordinates":[[10,40],[40,30],[20,20],[30,10]]}}
@@ -43,7 +43,7 @@ Content-Length: 137
43 43
 GET /geojson/countries/8
44 44
 ===
45 45
 200
46
-Content-Type: application/json
46
+Content-Type: application/json; charset=utf-8
47 47
 Content-Length: 169
48 48
 
49 49
 {"type":"Feature","id":8,"properties":{"name":"Mline"},"geometry":{"type":"MultiLineString","coordinates":[[[10,10],[20,20],[10,40]],[[40,40],[30,30],[40,20],[30,10]]]}}
@@ -51,7 +51,7 @@ Content-Length: 169
51 51
 GET /geojson/countries/9
52 52
 ===
53 53
 200
54
-Content-Type: application/json
54
+Content-Type: application/json; charset=utf-8
55 55
 Content-Length: 184
56 56
 
57 57
 {"type":"Feature","id":9,"properties":{"name":"Mpoly1"},"geometry":{"type":"MultiPolygon","coordinates":[[[[30,20],[45,40],[10,40],[30,20]]],[[[15,5],[40,10],[10,20],[5,10],[15,5]]]]}}
@@ -59,7 +59,7 @@ Content-Length: 184
59 59
 GET /geojson/countries/10
60 60
 ===
61 61
 200
62
-Content-Type: application/json
62
+Content-Type: application/json; charset=utf-8
63 63
 Content-Length: 229
64 64
 
65 65
 {"type":"Feature","id":10,"properties":{"name":"Mpoly2"},"geometry":{"type":"MultiPolygon","coordinates":[[[[40,40],[20,45],[45,30],[40,40]]],[[[20,35],[10,30],[10,10],[30,5],[45,20],[20,35]],[[30,20],[20,15],[20,25],[30,20]]]]}}
@@ -67,7 +67,7 @@ Content-Length: 229
67 67
 GET /geojson/countries/11
68 68
 ===
69 69
 500
70
-Content-Type: application/json
70
+Content-Type: application/json; charset=utf-8
71 71
 Content-Length: 73
72 72
 
73 73
 {"code":9999,"message":"Geometry type not supported: GEOMETRYCOLLECTION"}

+ 2
- 2
tests/functional/001_records/082_read_users_as_geojson.log View File

@@ -3,7 +3,7 @@ skip-for-sqlite: no support for geometry functions (spatialite)
3 3
 GET /geojson/users/1?exclude=password
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 109
8 8
 
9 9
 {"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}}
@@ -11,7 +11,7 @@ Content-Length: 109
11 11
 GET /geojson/users/2?exclude=password
12 12
 ===
13 13
 200
14
-Content-Type: application/json
14
+Content-Type: application/json; charset=utf-8
15 15
 Content-Length: 75
16 16
 
17 17
 {"type":"Feature","id":2,"properties":{"username":"user2"},"geometry":null}

+ 5
- 5
tests/functional/001_records/083_list_users_as_geojson.log View File

@@ -3,7 +3,7 @@ skip-for-sqlite: no support for geometry functions (spatialite)
3 3
 GET /geojson/users?exclude=password
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 227
8 8
 
9 9
 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}},{"type":"Feature","id":2,"properties":{"username":"user2"},"geometry":null}]}
@@ -11,7 +11,7 @@ Content-Length: 227
11 11
 GET /geojson/users?exclude=password&geometry=location
12 12
 ===
13 13
 200
14
-Content-Type: application/json
14
+Content-Type: application/json; charset=utf-8
15 15
 Content-Length: 227
16 16
 
17 17
 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}},{"type":"Feature","id":2,"properties":{"username":"user2"},"geometry":null}]}
@@ -19,7 +19,7 @@ Content-Length: 227
19 19
 GET /geojson/users?exclude=password&geometry=notlocation
20 20
 ===
21 21
 200
22
-Content-Type: application/json
22
+Content-Type: application/json; charset=utf-8
23 23
 Content-Length: 235
24 24
 
25 25
 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1","location":"POINT(30 20)"},"geometry":null},{"type":"Feature","id":2,"properties":{"username":"user2","location":null},"geometry":null}]}
@@ -27,7 +27,7 @@ Content-Length: 235
27 27
 GET /geojson/users?exclude=password&page=1,1
28 28
 ===
29 29
 200
30
-Content-Type: application/json
30
+Content-Type: application/json; charset=utf-8
31 31
 Content-Length: 163
32 32
 
33 33
 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}}],"results":2}
@@ -35,7 +35,7 @@ Content-Length: 163
35 35
 GET /geojson/users?exclude=password&bbox=29.99,19.99,30.01,20.01
36 36
 ===
37 37
 200
38
-Content-Type: application/json
38
+Content-Type: application/json; charset=utf-8
39 39
 Content-Length: 151
40 40
 
41 41
 {"type":"FeatureCollection","features":[{"type":"Feature","id":1,"properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}}]}

+ 5
- 5
tests/functional/001_records/084_update_tags_with_boolean.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/tags/1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 44
7 7
 
8 8
 {"id":1,"name":"funny","is_important":false}
@@ -12,7 +12,7 @@ PUT /records/tags/1
12 12
 {"id":1,"name":"funny","is_important":true}
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 1
17 17
 
18 18
 1
@@ -20,7 +20,7 @@ Content-Length: 1
20 20
 GET /records/tags/1
21 21
 ===
22 22
 200
23
-Content-Type: application/json
23
+Content-Type: application/json; charset=utf-8
24 24
 Content-Length: 43
25 25
 
26 26
 {"id":1,"name":"funny","is_important":true}
@@ -30,7 +30,7 @@ PUT /records/tags/1
30 30
 {"id":1,"name":"funny","is_important":false}
31 31
 ===
32 32
 200
33
-Content-Type: application/json
33
+Content-Type: application/json; charset=utf-8
34 34
 Content-Length: 1
35 35
 
36 36
 1
@@ -38,7 +38,7 @@ Content-Length: 1
38 38
 GET /records/tags/1
39 39
 ===
40 40
 200
41
-Content-Type: application/json
41
+Content-Type: application/json; charset=utf-8
42 42
 Content-Length: 44
43 43
 
44 44
 {"id":1,"name":"funny","is_important":false}

+ 5
- 5
tests/functional/001_records/085_update_invisble_column_kunsthandvaerk.log View File

@@ -4,7 +4,7 @@ POST /records/kunsthåndværk
4 4
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":4,"user_id":2}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 38
9 9
 
10 10
 "b55decba-8eb5-436b-af3e-148f7b4eacda"
@@ -12,7 +12,7 @@ Content-Length: 38
12 12
 GET /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 104
17 17
 
18 18
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":4,"user_id":1,"invisible_id":null}
@@ -22,7 +22,7 @@ PUT /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
22 22
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":3,"invisible":"test"}
23 23
 ===
24 24
 200
25
-Content-Type: application/json
25
+Content-Type: application/json; charset=utf-8
26 26
 Content-Length: 1
27 27
 
28 28
 1
@@ -30,7 +30,7 @@ Content-Length: 1
30 30
 GET /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
31 31
 ===
32 32
 200
33
-Content-Type: application/json
33
+Content-Type: application/json; charset=utf-8
34 34
 Content-Length: 104
35 35
 
36 36
 {"id":"b55decba-8eb5-436b-af3e-148f7b4eacda","Umlauts ä_ö_ü-COUNT":3,"user_id":1,"invisible_id":null}
@@ -38,7 +38,7 @@ Content-Length: 104
38 38
 DELETE /records/kunsthåndværk/b55decba-8eb5-436b-af3e-148f7b4eacda
39 39
 ===
40 40
 200
41
-Content-Type: application/json
41
+Content-Type: application/json; charset=utf-8
42 42
 Content-Length: 1
43 43
 
44 44
 1

+ 4
- 4
tests/functional/001_records/086_add_and_update_posts_in_large_batch.log
File diff suppressed because it is too large
View File


+ 13
- 13
tests/functional/001_records/087_read_and_write_posts_as_xml.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/1
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 61
7 7
 
8 8
 {"id":1,"user_id":1,"category_id":1,"content":"blog started"}
@@ -10,7 +10,7 @@ Content-Length: 61
10 10
 GET /records/posts/1?format=xml
11 11
 ===
12 12
 200
13
-Content-Type: text/xml
13
+Content-Type: text/xml; charset=utf-8
14 14
 Content-Length: 102
15 15
 
16 16
 <root><id>1</id><user_id>1</user_id><category_id>1</category_id><content>blog started</content></root>
@@ -18,7 +18,7 @@ Content-Length: 102
18 18
 GET /records/posts?size=1
19 19
 ===
20 20
 200
21
-Content-Type: application/json
21
+Content-Type: application/json; charset=utf-8
22 22
 Content-Length: 75
23 23
 
24 24
 {"records":[{"id":1,"user_id":1,"category_id":1,"content":"blog started"}]}
@@ -26,7 +26,7 @@ Content-Length: 75
26 26
 GET /records/posts?size=1&format=xml
27 27
 ===
28 28
 200
29
-Content-Type: text/xml
29
+Content-Type: text/xml; charset=utf-8
30 30
 Content-Length: 147
31 31
 
32 32
 <root><records type="array"><item><id>1</id><user_id>1</user_id><category_id>1</category_id><content>blog started</content></item></records></root>
@@ -34,7 +34,7 @@ Content-Length: 147
34 34
 GET /records/posts/1?join=users&format=xml
35 35
 ===
36 36
 200
37
-Content-Type: text/xml
37
+Content-Type: text/xml; charset=utf-8
38 38
 Content-Length: 200
39 39
 
40 40
 <root><id>1</id><user_id><id>1</id><username>user1</username><password>testtest2</password><location>POINT(30 20)</location></user_id><category_id>1</category_id><content>blog started</content></root>
@@ -42,7 +42,7 @@ Content-Length: 200
42 42
 GET /records/posts/1?join=users&join=comments,categories
43 43
 ===
44 44
 200
45
-Content-Type: application/json
45
+Content-Type: application/json; charset=utf-8
46 46
 Content-Length: 335
47 47
 
48 48
 {"id":1,"user_id":{"id":1,"username":"user1","password":"testtest2","location":"POINT(30 20)"},"category_id":1,"content":"blog started","comments":[{"id":1,"post_id":1,"message":"great","category_id":{"id":3,"name":"comment","icon":null}},{"id":2,"post_id":1,"message":"fantastic","category_id":{"id":3,"name":"comment","icon":null}}]}
@@ -50,7 +50,7 @@ Content-Length: 335
50 50
 GET /records/posts/1?join=users&join=comments,categories&format=xml
51 51
 ===
52 52
 200
53
-Content-Type: text/xml
53
+Content-Type: text/xml; charset=utf-8
54 54
 Content-Length: 536
55 55
 
56 56
 <root><id>1</id><user_id><id>1</id><username>user1</username><password>testtest2</password><location>POINT(30 20)</location></user_id><category_id>1</category_id><content>blog started</content><comments type="array"><item><id>1</id><post_id>1</post_id><message>great</message><category_id><id>3</id><name>comment</name><icon type="null"></icon></category_id></item><item><id>2</id><post_id>1</post_id><message>fantastic</message><category_id><id>3</id><name>comment</name><icon type="null"></icon></category_id></item></comments></root>
@@ -58,7 +58,7 @@ Content-Length: 536
58 58
 GET /records/posts?page=2,1
59 59
 ===
60 60
 200
61
-Content-Type: application/json
61
+Content-Type: application/json; charset=utf-8
62 62
 Content-Length: 222
63 63
 
64 64
 {"records":[{"id":2,"user_id":1,"category_id":2,"content":"🦀€ Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте"}],"results":12}
@@ -66,7 +66,7 @@ Content-Length: 222
66 66
 GET /records/posts?page=2,1&format=xml
67 67
 ===
68 68
 200
69
-Content-Type: text/xml
69
+Content-Type: text/xml; charset=utf-8
70 70
 Content-Length: 302
71 71
 
72 72
 <root><records type="array"><item><id>2</id><user_id>1</user_id><category_id>2</category_id><content>🦀€ Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте</content></item></records><results>12</results></root>
@@ -77,7 +77,7 @@ Content-Type: application/xml
77 77
 <object><id>1</id><user_id>1</user_id><category_id>1</category_id><content>blog started</content></object>
78 78
 ===
79 79
 200
80
-Content-Type: text/xml
80
+Content-Type: text/xml; charset=utf-8
81 81
 Content-Length: 72
82 82
 
83 83
 <root><code>1009</code><message>Duplicate key exception</message></root>
@@ -88,7 +88,7 @@ Content-Type: application/xml
88 88
 <object><user_id>1</user_id><category_id>1</category_id><content>blog started</content></object>
89 89
 ===
90 90
 200
91
-Content-Type: text/xml
91
+Content-Type: text/xml; charset=utf-8
92 92
 Content-Length: 14
93 93
 
94 94
 <root>1</root>
@@ -99,7 +99,7 @@ Content-Type: application/xml
99 99
 <root><user_id>a</user_id></root>
100 100
 ===
101 101
 200
102
-Content-Type: text/xml
102
+Content-Type: text/xml; charset=utf-8
103 103
 Content-Length: 137
104 104
 
105 105
 <root><code>1013</code><message>Input validation failed for 'posts'</message><details><user_id>invalid integer</user_id></details></root>
@@ -110,7 +110,7 @@ Content-Type: application/xml
110 110
 <root><user_id>a</wrong_tag></root>
111 111
 ===
112 112
 200
113
-Content-Type: text/xml
113
+Content-Type: text/xml; charset=utf-8
114 114
 Content-Length: 73
115 115
 
116 116
 <root><code>1008</code><message>Cannot read HTTP message</message></root>

+ 3
- 3
tests/functional/001_records/088_read_and_write_multiple_posts_as_xml.log View File

@@ -2,7 +2,7 @@
2 2
 GET /records/posts/1,2
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 259
7 7
 
8 8
 [{"id":1,"user_id":1,"category_id":1,"content":"blog started"},{"id":2,"user_id":1,"category_id":2,"content":"🦀€ Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте"}]
@@ -10,7 +10,7 @@ Content-Length: 259
10 10
 GET /records/posts/1,2?format=xml
11 11
 ===
12 12
 200
13
-Content-Type: text/xml
13
+Content-Type: text/xml; charset=utf-8
14 14
 Content-Length: 364
15 15
 
16 16
 <root type="array"><item><id>1</id><user_id>1</user_id><category_id>1</category_id><content>blog started</content></item><item><id>2</id><user_id>1</user_id><category_id>2</category_id><content>🦀€ Grüßgott, Вiтаю, dobrý deň, hyvää päivää, გამარჯობა, Γεια σας, góðan dag, здравствуйте</content></item></root>
@@ -20,7 +20,7 @@ PUT /records/posts/1,2?format=xml
20 20
 <object type="array"><object><user_id>1</user_id></object><object><user_id>2</user_id></object></object>
21 21
 ===
22 22
 200
23
-Content-Type: text/xml
23
+Content-Type: text/xml; charset=utf-8
24 24
 Content-Length: 54
25 25
 
26 26
 <root type="array"><item>1</item><item>1</item></root>

+ 4
- 4
tests/functional/002_auth/001_jwt_auth.log View File

@@ -3,7 +3,7 @@ GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
3 3
 X-Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6IjE1MzgyMDc2MDUiLCJleHAiOjE1MzgyMDc2MzV9.Z5px_GT15TRKhJCTHhDt5Z6K6LRDSFnLj8U5ok9l7gw
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 45
8 8
 
9 9
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
@@ -11,7 +11,7 @@ Content-Length: 45
11 11
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
12 12
 ===
13 13
 200
14
-Content-Type: application/json
14
+Content-Type: application/json; charset=utf-8
15 15
 Content-Length: 45
16 16
 
17 17
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
@@ -20,7 +20,7 @@ GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
20 20
 X-Authorization: Bearer invalid
21 21
 ===
22 22
 403
23
-Content-Type: application/json
23
+Content-Type: application/json; charset=utf-8
24 24
 Content-Length: 57
25 25
 
26 26
 {"code":1012,"message":"Authentication failed for 'JWT'"}
@@ -28,7 +28,7 @@ Content-Length: 57
28 28
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
29 29
 ===
30 30
 404
31
-Content-Type: application/json
31
+Content-Type: application/json; charset=utf-8
32 32
 Content-Length: 54
33 33
 
34 34
 {"code":1001,"message":"Table 'invisibles' not found"}

+ 4
- 4
tests/functional/002_auth/002_basic_auth.log View File

@@ -3,7 +3,7 @@ GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
3 3
 Authorization: Basic dXNlcm5hbWUxOnBhc3N3b3JkMQ
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 45
8 8
 
9 9
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
@@ -11,7 +11,7 @@ Content-Length: 45
11 11
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
12 12
 ===
13 13
 200
14
-Content-Type: application/json
14
+Content-Type: application/json; charset=utf-8
15 15
 Content-Length: 45
16 16
 
17 17
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
@@ -20,7 +20,7 @@ GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
20 20
 Authorization: Basic aW52YWxpZHVzZXI6aW52YWxpZHBhc3M
21 21
 ===
22 22
 403
23
-Content-Type: application/json
23
+Content-Type: application/json; charset=utf-8
24 24
 Content-Length: 65
25 25
 
26 26
 {"code":1012,"message":"Authentication failed for 'invaliduser'"}
@@ -28,7 +28,7 @@ Content-Length: 65
28 28
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
29 29
 ===
30 30
 404
31
-Content-Type: application/json
31
+Content-Type: application/json; charset=utf-8
32 32
 Content-Length: 54
33 33
 
34 34
 {"code":1001,"message":"Table 'invisibles' not found"}

+ 10
- 10
tests/functional/002_auth/003_db_auth.log View File

@@ -2,18 +2,18 @@
2 2
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
3 3
 ===
4 4
 404
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 54
7 7
 
8 8
 {"code":1001,"message":"Table 'invisibles' not found"}
9 9
 ===
10 10
 POST /login
11
-Content-Type: application/json
11
+Content-Type: application/json; charset=utf-8
12 12
 
13 13
 {"username":"user2","password":"pass2"}
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 27
18 18
 
19 19
 {"id":2,"username":"user2"}
@@ -21,18 +21,18 @@ Content-Length: 27
21 21
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
22 22
 ===
23 23
 200
24
-Content-Type: application/json
24
+Content-Type: application/json; charset=utf-8
25 25
 Content-Length: 45
26 26
 
27 27
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
28 28
 ===
29 29
 POST /login
30
-Content-Type: application/json
30
+Content-Type: application/json; charset=utf-8
31 31
 
32 32
 {"username":"user2","password":"incorect password"}
33 33
 ===
34 34
 403
35
-Content-Type: application/json
35
+Content-Type: application/json; charset=utf-8
36 36
 Content-Length: 59
37 37
 
38 38
 {"code":1012,"message":"Authentication failed for 'user2'"}
@@ -40,7 +40,7 @@ Content-Length: 59
40 40
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
41 41
 ===
42 42
 200
43
-Content-Type: application/json
43
+Content-Type: application/json; charset=utf-8
44 44
 Content-Length: 45
45 45
 
46 46
 {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
@@ -48,7 +48,7 @@ Content-Length: 45
48 48
 POST /logout
49 49
 ===
50 50
 200
51
-Content-Type: application/json
51
+Content-Type: application/json; charset=utf-8
52 52
 Content-Length: 27
53 53
 
54 54
 {"id":2,"username":"user2"}
@@ -56,7 +56,7 @@ Content-Length: 27
56 56
 GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
57 57
 ===
58 58
 404
59
-Content-Type: application/json
59
+Content-Type: application/json; charset=utf-8
60 60
 Content-Length: 54
61 61
 
62 62
 {"code":1001,"message":"Table 'invisibles' not found"}
@@ -64,7 +64,7 @@ Content-Length: 54
64 64
 POST /logout
65 65
 ===
66 66
 401
67
-Content-Type: application/json
67
+Content-Type: application/json; charset=utf-8
68 68
 Content-Length: 49
69 69
 
70 70
 {"code":1011,"message":"Authentication required"}

+ 1
- 1
tests/functional/003_columns/001_get_database.log View File

@@ -3,7 +3,7 @@ skip-for-sqlite: auto incrementing primary keys must be integer typed (may not b
3 3
 GET /columns
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 2799
8 8
 
9 9
 {"tables":[{"name":"barcodes","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]},{"name":"categories","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"name","type":"varchar","length":255},{"name":"icon","type":"blob","nullable":true}]},{"name":"comments","type":"table","columns":[{"name":"id","type":"bigint","pk":true},{"name":"post_id","type":"integer","fk":"posts"},{"name":"message","type":"varchar","length":255},{"name":"category_id","type":"integer","fk":"categories"}]},{"name":"countries","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"name","type":"varchar","length":255},{"name":"shape","type":"geometry"}]},{"name":"events","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"name","type":"varchar","length":255},{"name":"datetime","type":"timestamp","nullable":true},{"name":"visitors","type":"bigint","nullable":true}]},{"name":"kunsthåndværk","type":"table","columns":[{"name":"id","type":"varchar","length":36,"pk":true},{"name":"Umlauts ä_ö_ü-COUNT","type":"integer"},{"name":"user_id","type":"integer","fk":"users"},{"name":"invisible_id","type":"varchar","length":36,"nullable":true,"fk":"invisibles"}]},{"name":"nopk","type":"table","columns":[{"name":"id","type":"varchar","length":36}]},{"name":"post_tags","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"post_id","type":"integer","fk":"posts"},{"name":"tag_id","type":"integer","fk":"tags"}]},{"name":"posts","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"user_id","type":"integer","fk":"users"},{"name":"category_id","type":"integer","fk":"categories"},{"name":"content","type":"varchar","length":255}]},{"name":"products","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"name","type":"varchar","length":255},{"name":"price","type":"decimal","precision":10,"scale":2},{"name":"properties","type":"clob"},{"name":"created_at","type":"timestamp"},{"name":"deleted_at","type":"timestamp","nullable":true}]},{"name":"tag_usage","type":"view","columns":[{"name":"name","type":"varchar","length":255},{"name":"count","type":"bigint"}]},{"name":"tags","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"name","type":"varchar","length":255},{"name":"is_important","type":"boolean"}]},{"name":"users","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"username","type":"varchar","length":255},{"name":"password","type":"varchar","length":255},{"name":"location","type":"geometry","nullable":true}]}]}

+ 1
- 1
tests/functional/003_columns/002_get_barcodes_table.log View File

@@ -2,7 +2,7 @@
2 2
 GET /columns/barcodes
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 283
7 7
 
8 8
 {"name":"barcodes","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]}

+ 1
- 1
tests/functional/003_columns/003_get_barcodes_id_column.log View File

@@ -2,7 +2,7 @@
2 2
 GET /columns/barcodes/id
3 3
 ===
4 4
 200
5
-Content-Type: application/json
5
+Content-Type: application/json; charset=utf-8
6 6
 Content-Length: 40
7 7
 
8 8
 {"name":"id","type":"integer","pk":true}

+ 4
- 4
tests/functional/003_columns/004_update_barcodes_id_column.log View File

@@ -5,7 +5,7 @@ PUT /columns/barcodes/id
5 5
 {"name":"id2","type":"bigint"}
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 4
10 10
 
11 11
 true
@@ -13,7 +13,7 @@ true
13 13
 GET /columns/barcodes/id2
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 40
18 18
 
19 19
 {"name":"id2","type":"bigint","pk":true}
@@ -23,7 +23,7 @@ PUT /columns/barcodes/id2
23 23
 {"name":"id","type":"integer"}
24 24
 ===
25 25
 200
26
-Content-Type: application/json
26
+Content-Type: application/json; charset=utf-8
27 27
 Content-Length: 4
28 28
 
29 29
 true
@@ -31,7 +31,7 @@ true
31 31
 GET /columns/barcodes/id
32 32
 ===
33 33
 200
34
-Content-Type: application/json
34
+Content-Type: application/json; charset=utf-8
35 35
 Content-Length: 40
36 36
 
37 37
 {"name":"id","type":"integer","pk":true}

+ 4
- 4
tests/functional/003_columns/005_update_barcodes_product_id_nullable.log View File

@@ -5,7 +5,7 @@ PUT /columns/barcodes/product_id
5 5
 {"nullable":true}
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 4
10 10
 
11 11
 true
@@ -13,7 +13,7 @@ true
13 13
 GET /columns/barcodes/product_id
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 70
18 18
 
19 19
 {"name":"product_id","type":"integer","nullable":true,"fk":"products"}
@@ -23,7 +23,7 @@ PUT /columns/barcodes/product_id
23 23
 {"nullable":false}
24 24
 ===
25 25
 200
26
-Content-Type: application/json
26
+Content-Type: application/json; charset=utf-8
27 27
 Content-Length: 4
28 28
 
29 29
 true
@@ -31,7 +31,7 @@ true
31 31
 GET /columns/barcodes/product_id
32 32
 ===
33 33
 200
34
-Content-Type: application/json
34
+Content-Type: application/json; charset=utf-8
35 35
 Content-Length: 54
36 36
 
37 37
 {"name":"product_id","type":"integer","fk":"products"}

+ 9
- 9
tests/functional/003_columns/006_update_events_visitors_pk.log View File

@@ -3,7 +3,7 @@ skip-for-sqlite: table (columns) cannot be altered online
3 3
 GET /columns/events/visitors
4 4
 ===
5 5
 200
6
-Content-Type: application/json
6
+Content-Type: application/json; charset=utf-8
7 7
 Content-Length: 51
8 8
 
9 9
 {"name":"visitors","type":"bigint","nullable":true}
@@ -13,7 +13,7 @@ PUT /columns/events/visitors
13 13
 {"nullable":false}
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 4
18 18
 
19 19
 true
@@ -21,7 +21,7 @@ true
21 21
 GET /columns/events/visitors
22 22
 ===
23 23
 200
24
-Content-Type: application/json
24
+Content-Type: application/json; charset=utf-8
25 25
 Content-Length: 35
26 26
 
27 27
 {"name":"visitors","type":"bigint"}
@@ -31,7 +31,7 @@ PUT /columns/events/visitors
31 31
 {"nullable":true}
32 32
 ===
33 33
 200
34
-Content-Type: application/json
34
+Content-Type: application/json; charset=utf-8
35 35
 Content-Length: 4
36 36
 
37 37
 true
@@ -39,7 +39,7 @@ true
39 39
 GET /columns/events/id
40 40
 ===
41 41
 200
42
-Content-Type: application/json
42
+Content-Type: application/json; charset=utf-8
43 43
 Content-Length: 40
44 44
 
45 45
 {"name":"id","type":"integer","pk":true}
@@ -49,7 +49,7 @@ PUT /columns/events/visitors
49 49
 {"pk":false}
50 50
 ===
51 51
 200
52
-Content-Type: application/json
52
+Content-Type: application/json; charset=utf-8
53 53
 Content-Length: 4
54 54
 
55 55
 true
@@ -57,7 +57,7 @@ true
57 57
 GET /columns/events/visitors
58 58
 ===
59 59
 200
60
-Content-Type: application/json
60
+Content-Type: application/json; charset=utf-8
61 61
 Content-Length: 51
62 62
 
63 63
 {"name":"visitors","type":"bigint","nullable":true}
@@ -67,7 +67,7 @@ PUT /columns/events/id
67 67
 {"pk":true}
68 68
 ===
69 69
 200
70
-Content-Type: application/json
70
+Content-Type: application/json; charset=utf-8
71 71
 Content-Length: 4
72 72
 
73 73
 true
@@ -75,7 +75,7 @@ true
75 75
 GET /columns/events/id
76 76
 ===
77 77
 200
78
-Content-Type: application/json
78
+Content-Type: application/json; charset=utf-8
79 79
 Content-Length: 40
80 80
 
81 81
 {"name":"id","type":"integer","pk":true}

+ 4
- 4
tests/functional/003_columns/007_update_barcodes_product_id_fk.log View File

@@ -5,7 +5,7 @@ PUT /columns/barcodes/product_id
5 5
 {"fk":""}
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 4
10 10
 
11 11
 true
@@ -13,7 +13,7 @@ true
13 13
 GET /columns/barcodes/product_id
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 38
18 18
 
19 19
 {"name":"product_id","type":"integer"}
@@ -23,7 +23,7 @@ PUT /columns/barcodes/product_id
23 23
 {"fk":"products"}
24 24
 ===
25 25
 200
26
-Content-Type: application/json
26
+Content-Type: application/json; charset=utf-8
27 27
 Content-Length: 4
28 28
 
29 29
 true
@@ -31,7 +31,7 @@ true
31 31
 GET /columns/barcodes/product_id
32 32
 ===
33 33
 200
34
-Content-Type: application/json
34
+Content-Type: application/json; charset=utf-8
35 35
 Content-Length: 54
36 36
 
37 37
 {"name":"product_id","type":"integer","fk":"products"}

+ 4
- 4
tests/functional/003_columns/008_update_barcodes_table.log View File

@@ -4,7 +4,7 @@ PUT /columns/barcodes
4 4
 {"name":"barcodes2"}
5 5
 ===
6 6
 200
7
-Content-Type: application/json
7
+Content-Type: application/json; charset=utf-8
8 8
 Content-Length: 4
9 9
 
10 10
 true
@@ -12,7 +12,7 @@ true
12 12
 GET /columns/barcodes2
13 13
 ===
14 14
 200
15
-Content-Type: application/json
15
+Content-Type: application/json; charset=utf-8
16 16
 Content-Length: 284
17 17
 
18 18
 {"name":"barcodes2","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]}
@@ -22,7 +22,7 @@ PUT /columns/barcodes2
22 22
 {"name":"barcodes"}
23 23
 ===
24 24
 200
25
-Content-Type: application/json
25
+Content-Type: application/json; charset=utf-8
26 26
 Content-Length: 4
27 27
 
28 28
 true
@@ -30,7 +30,7 @@ true
30 30
 GET /columns/barcodes
31 31
 ===
32 32
 200
33
-Content-Type: application/json
33
+Content-Type: application/json; charset=utf-8
34 34
 Content-Length: 283
35 35
 
36 36
 {"name":"barcodes","type":"table","columns":[{"name":"id","type":"integer","pk":true},{"name":"product_id","type":"integer","fk":"products"},{"name":"hex","type":"varchar","length":255},{"name":"bin","type":"blob"},{"name":"ip_address","type":"varchar","length":15,"nullable":true}]}

+ 4
- 4
tests/functional/003_columns/009_update_barcodes_hex_type.log View File

@@ -5,7 +5,7 @@ PUT /columns/barcodes/hex
5 5
 {"type":"clob"}
6 6
 ===
7 7
 200
8
-Content-Type: application/json
8
+Content-Type: application/json; charset=utf-8
9 9
 Content-Length: 4
10 10
 
11 11
 true
@@ -13,7 +13,7 @@ true
13 13
 GET /columns/barcodes/hex
14 14
 ===
15 15
 200
16
-Content-Type: application/json
16
+Content-Type: application/json; charset=utf-8
17 17
 Content-Length: 28
18 18
 
19 19
 {"name":"hex","type":"clob"}
@@ -23,7 +23,7 @@ PUT /columns/barcodes/hex
23 23
 {"type":"varchar","length":255}
24 24
 ===
25 25
 200
26
-Content-Type: application/json
26
+Content-Type: application/json; charset=utf-8
27 27
 Content-Length: 4
28 28
 
29 29
 true
@@ -31,7 +31,7 @@ true
31 31
 GET /columns/barcodes/hex
32 32
 ===
33 33
 200
34
-Content-Type: application/json
34
+Content-Type: application/json; charset=utf-8
35 35
 Content-Length: 44
36 36
 
37 37
 {"name":"hex","type":"varchar","length":255}

+ 0
- 0
tests/functional/003_columns/010_create_barcodes_table.log View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save