Hacker News new | past | comments | ask | show | jobs | submit | chrisbra80's comments login

Vim implemented this: `:call err_teapot()`.


Why would a text editor have a way to produce HTTP error codes? I don't get it


Why would a web server try to brew coffee when it's a teapot?


Postel's law


Vim has http support as part of netrw which exists so you can do things like edit files over scp. I have at times had to fix remote hosts using this type of thing for example

vim scp://seanhunter@somehost.example.com:1234/.vimrc

^ ...which believe it or not works just fine if I have ssh access to that host.

..and I think http is supported for stuff like webdav, although I can't think of ever using http directly in vim like that. Given it's built-in it's useful for things like updating plugins etc. Once you've made the leap to thinking having net support like that built in is worthwhile, it makes sense for vim to have the wherewithall to test the responses for different status codes etc so plugins and scripts which use that network functionality can test the different failure cases.


what are you missing? Please use the issue tracker for discussions of better features.


I am open for suggestions on how to make the search work better.


Haha, thank you! (I am the author)


that wasn't there, when I noticed the commit


It's not a complaint about your post, just a moderation request. :)


1) Here the real problem is the maintainer of the syntax file who is hard to reach. I have contacted him several times but never got fa reply. No real problem of Vim. 2) merged February 25th. Not bad I would say (again a runtime file problem) 3) merged with 7.4.646 4) yes, sometimes it takes a while. 5) took long but has been merged with 7.4.652


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: