From 889b59e1e472447e5df12c5d7d3c9fc2190e1dd3 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Tue, 21 Dec 2021 21:42:31 +0530 Subject: [PATCH] feat: add reason phrase to http status code --- .../components/app/Interceptor.vue | 8 ++ .../hoppscotch-app/components/app/Share.vue | 2 +- .../components/collections/my/Request.vue | 12 ++- .../components/collections/teams/Request.vue | 12 ++- .../components/http/ResponseMeta.vue | 60 +++++++++---- .../helpers/utils/statusCodes.ts | 90 +++++++++++++++++++ packages/hoppscotch-app/locales/ca.json | 30 +++---- packages/hoppscotch-app/locales/uk.json | 8 +- .../hoppscotch-app/pages/documentation.vue | 2 +- 9 files changed, 183 insertions(+), 41 deletions(-) create mode 100644 packages/hoppscotch-app/helpers/utils/statusCodes.ts diff --git a/packages/hoppscotch-app/components/app/Interceptor.vue b/packages/hoppscotch-app/components/app/Interceptor.vue index 6d0af4482..55576dd6d 100644 --- a/packages/hoppscotch-app/components/app/Interceptor.vue +++ b/packages/hoppscotch-app/components/app/Interceptor.vue @@ -1,5 +1,13 @@