mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
@ -23,8 +23,8 @@ const HTTP_REQUEST_LOG = gql`
|
||||
key
|
||||
value
|
||||
}
|
||||
status
|
||||
statusCode
|
||||
statusReason
|
||||
body
|
||||
}
|
||||
}
|
||||
|
@ -16,8 +16,8 @@ const HTTP_REQUEST_LOGS = gql`
|
||||
url
|
||||
timestamp
|
||||
response {
|
||||
status
|
||||
statusCode
|
||||
statusReason
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -128,7 +128,9 @@ function RequestListTable({
|
||||
{response && (
|
||||
<div>
|
||||
<HttpStatusIcon status={response.statusCode} />{" "}
|
||||
<code>{response.status}</code>
|
||||
<code>
|
||||
{response.statusCode} {response.statusReason}
|
||||
</code>
|
||||
</div>
|
||||
)}
|
||||
</TableCell>
|
||||
|
@ -8,7 +8,7 @@ interface Props {
|
||||
response: {
|
||||
proto: string;
|
||||
statusCode: number;
|
||||
status: string;
|
||||
statusReason: string;
|
||||
headers: Array<{ key: string; value: string }>;
|
||||
body?: string;
|
||||
};
|
||||
@ -42,7 +42,7 @@ function ResponseDetail({ response }: Props): JSX.Element {
|
||||
{response.proto}
|
||||
</Typography>
|
||||
</Typography>{" "}
|
||||
{response.status}
|
||||
{response.statusCode} {response.statusReason}
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
|
Reference in New Issue
Block a user