Here we are again with another DevBlog of Pheme. This time we’re going to be tackling the problem of request parsing. Let’s get started.
To parse an HTTP request we need to study the format of an HTTP request. According to Wikipedia, a request message consists of the following:
Let’s tackle each of them individually.
Request line consists of three components
Furthermore, when I dig a little deeper, I found this…
I was playing around with flask and I though to myself — how hard would it be to write a toy web framework on my own. And here we are. We’re going writing the toy framework using Python. Let’s get started.
First I initialized the project as every other module. I also created a git repository to track and review changes as we move on with the project.
As I’m going to be modelling this framework around flask, we need to figure out how flask works. …
This is the first in a series of Devblogs, as I like to call it, where I will try to develop a fully-fledged machine learning library in python. Without any further ado, let’s get started.
First, I initialized an empty git repository in my folder. I organized my files like a traditional module with __init__.py and stuff. Next up we’re gonna create a regression folder where the regression methods like Linear Regression, Logistic Regression, and even Polynomial Regression are gonna reside.
I’m thinking of making this whole library object-oriented as is the case with most libraries. It makes it easier…
I am a Developer. I love to create projects in the field of Computer Science and Software Development.