Added more information to dynamic pages

This commit is contained in:
Nate Choe
2022-02-14 12:14:55 -06:00
parent 6825f12163
commit 92a000f474
4 changed files with 23 additions and 2 deletions

View File

@@ -160,6 +160,8 @@ static int linkedResponse(Connection *conn,
request.fieldCount = conn->fieldCount;
request.fields = conn->fields;
request.path = conn->path;
request.type = conn->type;
code = getResponse(&request, &response);

View File

@@ -49,6 +49,8 @@ typedef struct {
typedef struct {
long fieldCount;
Field *fields;
char *path;
RequestType type;
} Request;
typedef enum {