COMP 2406 Study Guide - Final Guide: List Of Http Header Fields, Query String, Html

404 views5 pages

Document Summary

A: the web browser makes an http get request to load a standard web page. If the url is invalid, the response will be a 404 (page not found). A: the purpose of the content-type http response header is to describe the type of data being served (i. e. , A: no, javascript is a loosely typed language. A: the port can be changed through the code found in the bin/www (replace 3000 with the desired port). A: when router. get() returns the only thing that has been accomplished is a function has been registered to be called when an http get request comes in for /. No data has been returned to the client as there is no client yet to return data to! Example: let x = {colors: [blue, red]}. x is an object with one property, colors. The colors property stores an array of strings.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents