Skip to content
Myr

docs: fix res.sendStatus/sendFile jsdoc comments

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #4673

authored by zhangky · committed by Douglas Christopher Wilson · parent 821b7f0 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:lib/response.js+2 added-2 removed
362 unmodified lines
363 * Transfer the file at the given `path`.364 *365 * Automatically sets the _Content-Type_ response header field.366 * The callback `callback(err)` is invoked when the transfer is complete367 * or when an error occurs. Be sure to check `res.sentHeader`367 * or when an error occurs. Be sure to check `res.headersSent`368 * if you wish to attempt responding, as the header and some data369 * may have already been transferred.370 *371 * Options:
73 unmodified lines
445 * Transfer the file at the given `path`.446 *447 * Automatically sets the _Content-Type_ response header field.448 * The callback `callback(err)` is invoked when the transfer is complete449 * or when an error occurs. Be sure to check `res.sentHeader`449 * or when an error occurs. Be sure to check `res.headersSent`450 * if you wish to attempt responding, as the header and some data451 * may have already been transferred.452 *453 * Options:
689 unmodified lines