{"shas":[["448199c082ef94b6cafad24af206f9c0c8155552","15d3873fe3dd5d49a206f9bfb2f935f6e76a3514@preshweb.co.uk","send_file() should not clobber previous status.\n\nsend_file clobbered any previously set status, so you couldn't say, e.g.:\n\n    status 'not_found';\n    send_file $my_404_page;\n\nThe response that send_file is using will either be a brand new Dancer::Response\nobject, whose status will default to 200, or an existing Dancer::Response\nobject, whose status will either default to 200, or have been set by a previous\ncall to C<status> and should be respected.\n\nThanks to tylerdu on IRC for reporting this.","David Precious"],["b6c56f9cf30892cc247d80390dd18034e95f16e5","15d3873fe3dd5d49a206f9bfb2f935f6e76a3514@preshweb.co.uk","send_file shouldn't clobber status for real files, either.\n\nSee last commit for rationale behind this change.\n\nLast commit was effective for calls to send_file with a scalarref of content;\nthis commit applies to calls to send_file with a file name.","David Precious"],["9075b1fc9273a027f1a41e4f16b751ebdd783bee","15d3873fe3dd5d49a206f9bfb2f935f6e76a3514@preshweb.co.uk","Tests to ensure that custom status for send_file works.","David Precious"],["bc1ece1a34276b4b986dbb7e0f5c1cc6e8da9597","15d3873fe3dd5d49a206f9bfb2f935f6e76a3514@preshweb.co.uk","Minor typo in test name.","David Precious"]],"ref":"refs/heads/devel","size":4,"head":"bc1ece1a34276b4b986dbb7e0f5c1cc6e8da9597","push_id":39840889}