Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 Add basic filters bar demo #28

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

🚧 Add basic filters bar demo #28

wants to merge 2 commits into from

Conversation

cloud-walker
Copy link
Owner

No description provided.

@cloud-walker cloud-walker self-assigned this Sep 18, 2022
@cloud-walker
Copy link
Owner Author

@robobun

const response = await fetch("https://example.com/");

console.log("Status", response.status);
console.log("Headers", Object.fromEntries(response.headers.entries()));

@robobun
Copy link

robobun commented Nov 21, 2022

@cloud-walker here you go!

Status 200
Headers { "accept-ranges": "bytes", age: "582471", "cache-control": "max-age=604800", "content-length": "648", "content-type": "text/html; charset=UTF-8", date: "Mon, 21 Nov 2022 17:27:45 GMT", etag: "\"3147526947\"", expires: "Mon, 28 Nov 2022 17:27:45 GMT", "last-modified": "Thu, 17 Oct 2019 07:18:26 GMT", server: "ECS (dcb/7F83)", vary: "Accept-Encoding", "x-cache": "HIT" }
Code
const response = await fetch("https://example.com/");

console.log("Status", response.status);
console.log("Headers", Object.fromEntries(response.headers.entries()));

Ran using the latest build of Bun, an all-in-one JavaScript runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants